diff options
| author | JameyBear <WhispersofJ@gmail.com> | 2020-06-01 15:29:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-01 15:29:57 -0400 |
| commit | f820ccf4dd69d4cf784fca4fc0e1ae273993077e (patch) | |
| tree | da152f42dc7b4597b63bc63297032a640b410eb0 /.local/bin/statusbar/help-icon | |
| parent | 87b0754319a00648cd20b7f013cc821868f6d25e (diff) | |
| download | eibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.tar.gz eibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.tar.zst eibhear-f820ccf4dd69d4cf784fca4fc0e1ae273993077e.zip | |
Shellcheck (#676)
Co-authored-by: WhispersOfJ <kaotiks@gmail.com>
Diffstat (limited to '.local/bin/statusbar/help-icon')
| -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 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 ;} |
