added version check

This commit is contained in:
WanderingPenwing 2024-08-01 00:11:31 +02:00
parent b57aa085c4
commit 53edaa52ab

View file

@ -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)\"") },