birdwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit aa58465db3fac7b533f0f64c6903c94ce4b6f925
parent 5459a301ae875fa2c0d73f3ea191d26602e24ae9
Author: grouse <bdmfegys@duck.com>
Date:   Mon, 11 Mar 2024 18:02:38 -0400

space out keybind statements and add helpful comments to each. comment deprecated keybinds.

Diffstat:
Mconfig.def.h | 13+++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -123,9 +123,13 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-i", NULL }; static const char *termcmd[] = { "birdterm", NULL }; -static const char *screenshotcmd[] = { "screenshot" }; /* screenshot command */ -/*static const char *wallpaper[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/\*.png", NULL }; */ -/*static const char *wallpapergif[] = { "nsxiv", "-t", "/home/tetraonini/Pictures/wallpapers/gif/\*.gif", NULL }; */ + +// original terminal +//static const char *termcmd[] = { "st", NULL }; + +//screenshotcmd does not work, as the screenshot +//static const char *screenshotcmd[] = { "screenshot" }; /* screenshot command */ + //static const char *wallpaper[] = { "xwallpaper" }; /* calling wallpaper picker script, utilizes nsxiv */ /* Wallpaper and Gif Directories */ #define WALLPAPERDIR "/home/example/dir" @@ -133,6 +137,7 @@ static const char *screenshotcmd[] = { "screenshot" }; /* screenshot command */ static const char *wallpaper[] = { "nsxiv", "-t", WALLPAPERDIR, NULL }; //nsxiv -t $HOME/Pictures/wallpapers 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[] = { "surf" }; /* browser shortcut */ /* pulseaudio script for setting volume, called by XF86 keys */ @@ -144,7 +149,7 @@ 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 } }, +// { 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 } },