commit dfdcad756bc0628eecf05df39e00fe875437bdcf
parent 36fec6554175f08a47fcaf1bcdf330fbebc571af
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Thu, 22 Aug 2024 01:00:33 -0400
config.def.h: fix indenting of comments and remove unused comment
Diffstat:
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -121,18 +121,16 @@ 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 dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "birdmenu_run", "-i", NULL };
static const char *termcmd[] = { "birdterm", NULL };
-
-/* Wallpaper and Gif Directories */
static const char *wallpaper[] = { "nsxiv", "-t", WALLPAPERDIR, NULL };
-static const char *wallpapergif[] = { "nsxiv", "-t", GIFDIR, NULL }; /* calling gif wallpaper picker script, utilizes nsxiv */
-static const char *restarter[] = { "restarter" }; /* dmenu script for restarting daemons and getting system info through dunst */
-static const char *browser[] = { "io.gitlab.librewolf-community" }; /* browser shortcut */
-static const char *screenshot[] = { "screenshot.sh" }; /* browser shortcut */
+static const char *wallpapergif[] = { "nsxiv", "-t", GIFDIR, NULL }; /* calling gif wallpaper picker script, utilizes nsxiv */
+static const char *restarter[] = { "restarter" }; /* dmenu script for restarting daemons and getting system info through dunst */
+static const char *browser[] = { "io.gitlab.librewolf-community" }; /* browser shortcut */
+static const char *screenshot[] = { "screenshot.sh" }; /* browser shortcut */
-/* pulseaudio script for setting volume, called by XF86 keys */
+/* pulseaudio script for setting volume, called by XF86 keys, found in 'extras' folder */
static const char *volup[] = { "volume.sh", "up", NULL};
static const char *voldown[] = { "volume.sh", "down", NULL};
static const char *volmute[] = { "volume.sh", "mute", NULL};
@@ -141,7 +139,6 @@ static const char *volmute[] = { "volume.sh", "mute", NULL};
#include "exitdwm.c"
static const Key keys[] = {
/* modifier key function argument */
-// { WINKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_w, spawn, {.v = wallpaper } },