added version check
This commit is contained in:
parent
b57aa085c4
commit
53edaa52ab
3
config.h
3
config.h
|
@ -75,7 +75,7 @@ static const Key keys[] = {
|
||||||
{ MODKEY, XK_twosuperior, spawn, {.v = screenlock } },
|
{ MODKEY, XK_twosuperior, spawn, {.v = screenlock } },
|
||||||
{ MODKEY, XK_space, setlayout, {0} },
|
{ MODKEY, XK_space, setlayout, {0} },
|
||||||
{ MODKEY, XK_f, togglefullscreen, {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_Up, focusstack, {.i = +1 } },
|
||||||
{ MODKEY, XK_F12, incnmaster, {.i = +1 } },
|
{ MODKEY, XK_F12, incnmaster, {.i = +1 } },
|
||||||
{ MODKEY, XK_F11, 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_comma, tagmon, {.i = -1 } },
|
||||||
{ MODKEY|ShiftMask, XK_semicolon, tagmon, {.i = +1 } },
|
{ MODKEY|ShiftMask, XK_semicolon, tagmon, {.i = +1 } },
|
||||||
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
{ 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_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_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)\"") },
|
{ MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },
|
||||||
|
|
Loading…
Reference in a new issue