summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-06-25 09:30:04 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-06-25 09:30:04 -0400
commit107a99f2743b8412d667c10998677d9ed6ca8fc5 (patch)
treed207877569f87f472582df4e7b43162f3d2721c1 /.local/bin
parent6ee4dada5b7602e56b4fcd3bebb6fb70a46f8eb7 (diff)
downloadeibhear-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-icon2
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 ;}