diff options
Diffstat (limited to '.local/bin/statusbar/help-icon')
| -rwxr-xr-x | .local/bin/statusbar/help-icon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/help-icon b/.local/bin/statusbar/help-icon index 9c90964..5044324 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. -ps ax | grep -q "\sdwm$" && +pgrep -f "\sdwm$" && READMEFILE=/usr/local/share/dwm/larbs.mom restartwm() { pkill -HUP dwm ;} || restartwm() { i3 restart ;} |
