From 6222e408a05b9cf6eec955f84c203d92fefec5d8 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 28 Dec 2022 13:30:09 -0500 Subject: [PATCH] [dwm] config.def.h: fix keybinds --- suckless/dwm/config.def.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/suckless/dwm/config.def.h b/suckless/dwm/config.def.h index 5797076..c88334e 100644 --- a/suckless/dwm/config.def.h +++ b/suckless/dwm/config.def.h @@ -115,10 +115,11 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } }, { MODKEY|ControlMask, XK_l, spawn, {.v = (const char*[]){ "/usr/local/bin/slock", NULL} } }, - { MODKEY|ShiftMask, XK_s, spawn, {.v = (const char*[]){ "~/.local/bin/deskutils/suspend.sh", NULL } } }, - { 0, XK_Print, spawn, {.v = (const char*[]){ "~/.local/bin/deskutils/screenshot.sh", NULL} } }, - { ShiftMask, XK_Print, spawn, {.v = (const char*[]){ "~/.local/bin/deskutils/screenshot-save.sh", NULL } } }, + { MODKEY|ShiftMask, XK_s, spawn, SHCMD("~/.local/bin/deskutils/suspend.sh") }, + { 0, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot.sh") }, + { ShiftMask, XK_Print, spawn, SHCMD("~/.local/bin/deskutils/screenshot-save.sh" ) }, { MODKEY, XK_z, spawn, TERMCMD("bookmk") }, + { MODKEY|ShiftMask, XK_z, spawn, TERMCMD("clipedit.sh") }, { 0, XF86XK_AudioStop, spawn, {.v = stopcmd } }, { 0, XF86XK_AudioNext, spawn, {.v = next } }, { 0, XF86XK_AudioPrev, spawn, {.v = prev } },