summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-31 13:17:04 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-31 13:17:04 +0400
commitda89170233b50756c5583fbf3d8002dc0ee17ea1 (patch)
tree11becf98ea2c93a7e4a99dfa5242c9d15ba13abe
parentba91154d55b3d80527e46b19d72c8a1fc3a0bf57 (diff)
keybind to change wallpaper added
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 0209b1f..7585e55 100644
--- a/config.h
+++ b/config.h
@@ -73,7 +73,8 @@ static const char
*light_down[] = {"slight", "-d", "5", NULL},
*vol_up[] = {"svol", "-i", "5", NULL},
*vol_down[] = {"svol", "-d", "5", NULL},
- *vol_toggle[] = {"svol", "-t", NULL};
+ *vol_toggle[] = {"svol", "-t", NULL},
+ *wallpaper[] = {"swall", NULL};
static const Key keys[] = {
@@ -107,6 +108,7 @@ static const Key keys[] = {
{ MODKEY, XK_s, togglescratch, {.v = scratchpadcmd } },
+ { MODKEY|ShiftMask, XK_w, spawn, {.v = wallpaper } },
{ 0 , XF86XK_MonBrightnessUp , spawn , {.v = light_up}},
{ 0 , XF86XK_MonBrightnessDown, spawn , {.v = light_down}},