diff --git a/config.h b/config.h index 4b49298..2639428 100644 --- a/config.h +++ b/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|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} },