summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/help-icon
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-06-01 17:46:17 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-06-01 17:46:17 -0400
commitae8929205eb9e7e8e12a387a2f5f60c6a17e7518 (patch)
tree513a2721c35351cac6e323dee3d3502d8e36b9d4 /.local/bin/statusbar/help-icon
parent51fff23636826df1c9ec0fffc69e24b3bfab935d (diff)
parent88dfd0afe9df8b613e292f2e288d9b775735c9b5 (diff)
downloadeibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.tar.gz
eibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.tar.zst
eibhear-ae8929205eb9e7e8e12a387a2f5f60c6a17e7518.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice into 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 ;}