diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 17:21:40 -0400 |
| commit | 422d106fbab5505f3810fa845f4f71547c7a4332 (patch) | |
| tree | f6a04c7eabbad04e7c11b3da8e683e69b9df5da2 /.local/bin/statusbar/help | |
| parent | 2c06dd36c61dea7383d2a12900eb83ee1751115a (diff) | |
| download | eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.gz eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.tar.zst eibhear-422d106fbab5505f3810fa845f4f71547c7a4332.zip | |
assume default values if xdg dirs not set
Diffstat (limited to '.local/bin/statusbar/help')
| -rwxr-xr-x | .local/bin/statusbar/help | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/help b/.local/bin/statusbar/help index d58f5cc..d05a90c 100755 --- a/.local/bin/statusbar/help +++ b/.local/bin/statusbar/help @@ -1,7 +1,7 @@ #!/bin/sh case $BLOCK_BUTTON in - 1) groff -mom $XDG_DATA_HOME/larbs/readme.mom -Tpdf | zathura - ;; + 1) groff -mom ${XDG_DATA_HOME:$HOME/.local/share}/larbs/readme.mom -Tpdf | zathura - ;; 2) i3 restart ;; 3) pgrep -x dunst >/dev/null && notify-send "❓ Help module" "\- Left click to open LARBS guide. - Middle click to refresh i3.";; |
