diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-06-25 09:30:04 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-06-25 09:30:04 -0400 |
| commit | 107a99f2743b8412d667c10998677d9ed6ca8fc5 (patch) | |
| tree | d207877569f87f472582df4e7b43162f3d2721c1 /.local/bin | |
| parent | 6ee4dada5b7602e56b4fcd3bebb6fb70a46f8eb7 (diff) | |
| download | eibhear-107a99f2743b8412d667c10998677d9ed6ca8fc5.tar.gz eibhear-107a99f2743b8412d667c10998677d9ed6ca8fc5.tar.zst eibhear-107a99f2743b8412d667c10998677d9ed6ca8fc5.zip | |
quicker, suppress output
Diffstat (limited to '.local/bin')
| -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 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 ;} |
