Fixed help-icon showing the pid of dwm

although I'm not sure if that was wanted behaviour...
This commit is contained in:
Miika 2020-06-23 21:52:34 +03:00
parent f1704018c0
commit fd76dfc449

View File

@ -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$" &&
pgrep -f "\sdwm$" | /dev/null &&
READMEFILE=/usr/local/share/dwm/larbs.mom
restartwm() { pkill -HUP dwm ;} ||
restartwm() { i3 restart ;}