dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 870085aede4ea48ca5407aee4cf61528dae918c1
parent c3592e0405248000727c8bd7e56ca640e3611ef6
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 13 Apr 2020 20:31:01 -0400

use pidof

Diffstat:
Mconfig.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.h b/config.h @@ -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)