fix compositor crash on 2nd attempt of starting calcurse

This commit is contained in:
Alexander Bocken 2022-12-09 15:53:21 +01:00
parent ce7e976cf1
commit 350f7cb9b2
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -208,11 +208,11 @@ static Key keys[] = {
{ MODKEY, XK_x, spawn, SHCMD("slock & ( sleep 4; xset dpms force off; mpc pause ; pauseallmpv)") },
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("prompt \"Shutdown computer?\" \"sudo -A shutdown -h now\"") },
{ MODKEY, XK_c, togglescratch, {.ui = 1 } },
{ MODKEY|ShiftMask, XK_c, spawn, SHCMD("st -e calcurse; pkill -RTMIN+8 dwmblocks")},
{ MODKEY|ShiftMask, XK_c, spawn, SHCMD("pgrep calcurse || st -e calcurse; pkill -RTMIN+8 dwmblocks")},
{ MODKEY, XK_v, spawn, SHCMD("st -e $EDITOR -c \"VimwikiIndex\"") },
{ MODKEY|ShiftMask, XK_v, setfloating, { .i=True} },
{ MODKEY|ShiftMask, XK_v, setsticky, {.i=True} },
{ ControlMask|ShiftMask, XK_v, spawn, SHCMD("xdotool type $(xclip -o)")},
{ ControlMask|ShiftMask, XK_v, spawn, SHCMD("xclip -selection 'primary' -o | xvkbd -xsendevent -file -")},
{ MODKEY|ShiftMask, XK_v, spawn, SHCMD("hover left") },
{ MODKEY, XK_b, spawn, SHCMD("bt") },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },