From 53edaa52ab70bfc8f1bbd08307eb66b3cc8adff8 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Thu, 1 Aug 2024 00:11:31 +0200 Subject: [PATCH] added version check --- config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index ca92b05..e786bec 100644 --- a/config.h +++ b/config.h @@ -75,7 +75,7 @@ static const Key keys[] = { { MODKEY, XK_twosuperior, spawn, {.v = screenlock } }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY, XK_f, togglefullscreen, {0} }, - { MODKEY, XK_Down, focusstack, {.i = -1 } }, + { MODKEY, XK_less, focusstack, {.i = -1 } }, { MODKEY, XK_Up, focusstack, {.i = +1 } }, { MODKEY, XK_F12, incnmaster, {.i = +1 } }, { MODKEY, XK_F11, incnmaster, {.i = -1 } }, @@ -90,6 +90,7 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_semicolon, tagmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY, XK_v, spawn, SHCMD("notify-send -u normal -a \"version\" \"1.6.4\"") }, { MODKEY, XK_F1, spawn, SHCMD("pamixer -t && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") }, { MODKEY, XK_F2, spawn, SHCMD("pamixer -d 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") }, { MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },