From 107a99f2743b8412d667c10998677d9ed6ca8fc5 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 25 Jun 2020 09:30:04 -0400 Subject: [PATCH] quicker, suppress output --- .local/bin/statusbar/help-icon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/statusbar/help-icon b/.local/bin/statusbar/help-icon index 5044324..8fa4a52 100755 --- a/.local/bin/statusbar/help-icon +++ b/.local/bin/statusbar/help-icon @@ -3,7 +3,7 @@ # The clickable help menu. Middle click to restart wm. # If dwm is running, use dwm's readme and restart. -pgrep -f "\sdwm$" && +pidof dwm >/dev/null && READMEFILE=/usr/local/share/dwm/larbs.mom restartwm() { pkill -HUP dwm ;} || restartwm() { i3 restart ;}