summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/help-icon
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-06-02 12:46:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-06-02 12:46:47 -0400
commitc4d6f4c027bb7e81093ec7c588f027de568e6bb6 (patch)
tree92b550aa1c66b52661d01f92122715aa09fc706c /.local/bin/statusbar/help-icon
parent87b0754319a00648cd20b7f013cc821868f6d25e (diff)
parent0df700f504cedeac1ae354c650ea80b32ab7668c (diff)
downloadeibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.tar.gz
eibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.tar.zst
eibhear-c4d6f4c027bb7e81093ec7c588f027de568e6bb6.zip
Merge branch 'chambln-refactor'
Diffstat (limited to '.local/bin/statusbar/help-icon')
-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 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 ;}