summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-03-21 00:25:19 -0500
committerzachir <zachir@librem.one>2021-03-21 00:25:19 -0500
commit8989ad0e9c7d7114ac224ded74ddc1c96d8f8e13 (patch)
treecb80362196b35089e456c59f63a60915a3a58d75
parent91ec0876da41a66f889408f5d5791e7e58de6bf7 (diff)
Comment out unused command definitions
-rw-r--r--config.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/config.h b/config.h
index a215a73..c1c961e 100644
--- a/config.h
+++ b/config.h
@@ -110,32 +110,32 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
-static const char *rmenucmd[] = { "/usr/sbin/j4-dmenu-desktop", NULL };
-static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
+/* static const char *rmenucmd[] = { "/usr/sbin/j4-dmenu-desktop", NULL }; */
+/* static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; */
static const char *termcmd[] = { "tabbed", "-c", "st", "-w", NULL };
-static const char *mpdtoggle[] = { "playerctl", "--player=mpd,mpv,%any", "play-pause", NULL };
-static const char *mpdnext[] = { "playerctl", "--player=mpd,mpv,%any", "next", NULL };
-static const char *mpdprev[] = { "playerctl", "--player=mpd,mpv,%any", "previous", NULL };
-static const char *plytoggle[] = { "playerctl", "--player=%any,mpd", "play-pause", NULL };
-static const char *plyfwd[] = { "playerctl", "--player=%any,mpd", "position 5+", NULL };
-static const char *plybck[] = { "playerctl", "--player=%any,mpd", "position 5-", NULL };
-static const char *blightup[] = { "light", "-A", "1", NULL };
-static const char *blightdown[] = { "light", "-U", "1", NULL };
-static const char *audioup[] = { "volsv", "-i", NULL };
-static const char *audiodown[] = { "volsv", "-d", NULL };
-static const char *audiomute[] = { "volsv", "-t", NULL };
-static const char *micmute[] = { "pamixer", "--source", "1", "-t", NULL };
-static const char *lockscr[] = { "xscreensaver-command", "-lock", NULL };
-static const char *xidletog[] = { "xidletog", NULL };
-static const char *xkillcmd[] = { "xkill", NULL };
+/* static const char *mpdtoggle[] = { "playerctl", "--player=mpd,mpv,%any", "play-pause", NULL }; */
+/* static const char *mpdnext[] = { "playerctl", "--player=mpd,mpv,%any", "next", NULL }; */
+/* static const char *mpdprev[] = { "playerctl", "--player=mpd,mpv,%any", "previous", NULL }; */
+/* static const char *plytoggle[] = { "playerctl", "--player=%any,mpd", "play-pause", NULL }; */
+/* static const char *plyfwd[] = { "playerctl", "--player=%any,mpd", "position 5+", NULL }; */
+/* static const char *plybck[] = { "playerctl", "--player=%any,mpd", "position 5-", NULL }; */
+/* static const char *blightup[] = { "light", "-A", "1", NULL }; */
+/* static const char *blightdown[] = { "light", "-U", "1", NULL }; */
+/* static const char *audioup[] = { "volsv", "-i", NULL }; */
+/* static const char *audiodown[] = { "volsv", "-d", NULL }; */
+/* static const char *audiomute[] = { "volsv", "-t", NULL }; */
+/* static const char *micmute[] = { "pamixer", "--source", "1", "-t", NULL }; */
+/* static const char *lockscr[] = { "xscreensaver-command", "-lock", NULL }; */
+/* static const char *xidletog[] = { "xidletog", NULL }; */
+/* static const char *xkillcmd[] = { "xkill", NULL }; */
static Key keys[] = {
/* modifier key function argument */
- { MODKEY, XK_d, spawn, {.v = dmenucmd } },
- { MODKEY, XK_r, spawn, {.v = rmenucmd } },
- { MODKEY, XK_p, spawn, {.v = passmenu } },
- { MODKEY, XK_c, spawn, {.v = xidletog } },
- { MODKEY, XK_x, spawn, {.v = xkillcmd } },
+ /* { MODKEY, XK_d, spawn, {.v = dmenucmd } }, */
+ /* { MODKEY, XK_r, spawn, {.v = rmenucmd } }, */
+ /* { MODKEY, XK_p, spawn, {.v = passmenu } }, */
+ /* { MODKEY, XK_c, spawn, {.v = xidletog } }, */
+ /* { MODKEY, XK_x, spawn, {.v = xkillcmd } }, */
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ControlMask, XK_z, togglescratch, {.ui = 0 } },
{ MODKEY|ControlMask, XK_x, togglescratch, {.ui = 1 } },