diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-04-13 20:31:01 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-13 20:31:01 -0400 |
commit | 870085aede4ea48ca5407aee4cf61528dae918c1 (patch) | |
tree | b3d78d827ac810096d4ed6d44473007fb3ce57a4 | |
parent | c3592e0405248000727c8bd7e56ca640e3611ef6 (diff) |
use pidof
-rw-r--r-- | config.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ static Key keys[] = { /* modifier key function argument */ STACKKEYS(MODKEY, focus) STACKKEYS(MODKEY|ShiftMask, push) - { MODKEY|ShiftMask, XK_Escape, spawn, SHCMD("[ \"$(printf \"No\\nYes\" | dmenu -i -nb darkred -sb red -sf white -nf gray -p \"Close dwm?\")\" = Yes ] && kill -TERM \"$(ps ax | grep dwm$ | cut -d' ' -f2)\"") }, + { MODKEY|ShiftMask, XK_Escape, spawn, SHCMD("[ \"$(printf \"No\\nYes\" | dmenu -i -nb darkred -sb red -sf white -nf gray -p \"Close dwm?\")\" = Yes ] && kill -TERM $(pidof dwm)") }, { MODKEY, XK_grave, spawn, SHCMD("dmenuunicode") }, /* { MODKEY|ShiftMask, XK_grave, togglescratch, SHCMD("") }, */ TAGKEYS( XK_1, 0) |