From e73798e385b55e3582893a19078daceeac74b47a Mon Sep 17 00:00:00 2001 From: TitanE Date: Thu, 4 Apr 2024 19:36:19 +0300 Subject: [PATCH] changing function names --- config.h | 20 ++++++++++---------- dwm | Bin 73032 -> 73024 bytes dwm.o | Bin 64416 -> 64408 bytes 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config.h b/config.h index 82a749c..fb47e26 100644 --- a/config.h +++ b/config.h @@ -64,9 +64,9 @@ static const Layout layouts[] = { #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ +static char dmenumon[2] = "0"; /* component of applications, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-c", "-g", "4", "-l", "15", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_purple, "-sf", col_black, NULL }; -static const char *termcmd[] = { "/usr/local/bin/st", NULL }; +static const char *terminal[] = { "/usr/local/bin/st", NULL }; static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL }; static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL }; static const char *filebrowse[] = { "/usr/local/bin/st", "-e", "/usr/bin/vifmrun", NULL }; @@ -75,9 +75,9 @@ static const char *cmdcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/d static const char *volup[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "up", "nord", NULL }; static const char *voldown[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "down", "nord", NULL }; static const char *volmute[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "mute", "nord", NULL }; -static const char *lockcmd[] = { "slock", NULL }; -static const char *powercmd[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/power", NULL }; -static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; +static const char *lock[] = { "slock", NULL }; +static const char *power[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/power", NULL }; +static const char *screenshot[] = { "flameshot", "gui", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -85,14 +85,14 @@ static const Key keys[] = { { MODKEY, XK_e, spawn, {.v = filebrowse } }, { MODKEY, XK_c, spawn, {.v = cmdcmd } }, { MODKEY, XK_z, spawn, {.v = bmcmd } }, - { MODKEY, XK_Delete, spawn, {.v = powercmd } }, + { MODKEY, XK_Delete, spawn, {.v = power } }, { MODKEY, XK_F9, spawn, {.v = volmute } }, { MODKEY, XK_F10, spawn, {.v = voldown } }, { MODKEY, XK_F11, spawn, {.v = volup } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, - { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, {.v = terminal } }, + { MODKEY|ShiftMask, XK_l, spawn, {.v = lock } }, { MODKEY|ShiftMask, XK_w, spawn, {.v = acccmd } }, - { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } }, + { MODKEY|ShiftMask, XK_s, spawn, {.v = screenshot } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_w, spawn, {.v = browsecmd } }, { MODKEY, XK_j, focusstack, {.i = +1 } }, @@ -134,7 +134,7 @@ static const Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, + { ClkStatusText, 0, Button2, spawn, {.v = terminal } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, diff --git a/dwm b/dwm index c9601fd6cb93d68919bedf89facae7957cb90763..ad460ca3b46af40aaf2141aa7e9b99abd9d40a06 100755 G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