commit d102f4bf0602878c101d5ff33c1900e7265ba324
parent 6e2cf6bfe9f4922179d1b3852d03308e496a07d9
Author: bdmfegys@duck.com <bdmfegys@duck.com>
Date: Sun, 28 Apr 2024 13:55:22 -0400
config.def.h: add keybind for screenshot.sh script
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -131,6 +131,7 @@ 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[] = { "surf" }; /* browser shortcut */
+static const char *screenshot[] = { "screenshot.sh" }; /* browser shortcut */
/* pulseaudio script for setting volume, called by XF86 keys */
static const char *volup[] = { "volume.sh", "up", NULL};
@@ -148,6 +149,7 @@ static const Key keys[] = {
{ MODKEY, XK_g, spawn, {.v = wallpapergif } },
{ MODKEY|ShiftMask, XK_j, spawn, {.v = restarter } },
{ MODKEY, XK_f, spawn, {.v = browser } },
+ { WINKEY|ShiftMask, XK_s, spawn, {.v = screenshot} },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup} },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldown} },
{ 0, XF86XK_AudioMute, spawn, {.v = volmute} },