summaryrefslogtreecommitdiffstats
path: root/.scripts/statusbar
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-03-31 22:22:06 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-03-31 22:22:06 -0400
commitd0d9ae45e18dad2af23bbe697792644cb0db699e (patch)
treeada4393e40bd7889216f9fc7a27ead1c4e4580b5 /.scripts/statusbar
parentf7c8f1d89b798ab39bfdb3cb7199b443a5e9e502 (diff)
downloadeibhear-d0d9ae45e18dad2af23bbe697792644cb0db699e.tar.gz
eibhear-d0d9ae45e18dad2af23bbe697792644cb0db699e.tar.zst
eibhear-d0d9ae45e18dad2af23bbe697792644cb0db699e.zip
middle click help to restart i3
Diffstat (limited to '.scripts/statusbar')
-rwxr-xr-x.scripts/statusbar/help11
1 files changed, 5 insertions, 6 deletions
diff --git a/.scripts/statusbar/help b/.scripts/statusbar/help
index 776e513..21c84ce 100755
--- a/.scripts/statusbar/help
+++ b/.scripts/statusbar/help
@@ -1,9 +1,8 @@
#!/bin/sh
-
case $BLOCK_BUTTON in
- 1) groff -kejpt -mom ~/.local/share/larbs/readme.mom -Tpdf | zathura - ;;
+ 1) groff -mom ~/.readme.mom -Tpdf | zathura - ;;
+ 2) i3 restart ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>❓ Help module:</b>
-- Left click to open LARBS guide.";;
-esac
-
-echo "❓"
+- Left click to open LARBS guide.
+- Middle click to refresh i3.";;
+esac; echo "❓"