fix compositor crash on 2nd attempt of starting calcurse
This commit is contained in:
parent
ce7e976cf1
commit
350f7cb9b2
4
config.h
4
config.h
@ -208,11 +208,11 @@ static Key keys[] = {
|
|||||||
{ MODKEY, XK_x, spawn, SHCMD("slock & ( sleep 4; xset dpms force off; mpc pause ; pauseallmpv)") },
|
{ 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|ShiftMask, XK_x, spawn, SHCMD("prompt \"Shutdown computer?\" \"sudo -A shutdown -h now\"") },
|
||||||
{ MODKEY, XK_c, togglescratch, {.ui = 1 } },
|
{ 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, XK_v, spawn, SHCMD("st -e $EDITOR -c \"VimwikiIndex\"") },
|
||||||
{ MODKEY|ShiftMask, XK_v, setfloating, { .i=True} },
|
{ MODKEY|ShiftMask, XK_v, setfloating, { .i=True} },
|
||||||
{ MODKEY|ShiftMask, XK_v, setsticky, {.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|ShiftMask, XK_v, spawn, SHCMD("hover left") },
|
||||||
{ MODKEY, XK_b, spawn, SHCMD("bt") },
|
{ MODKEY, XK_b, spawn, SHCMD("bt") },
|
||||||
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
|
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
|
||||||
|
Loading…
Reference in New Issue
Block a user