summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/help
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/help')
-rwxr-xr-x.local/bin/statusbar/help7
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/statusbar/help b/.local/bin/statusbar/help
new file mode 100755
index 0000000..9b88e65
--- /dev/null
+++ b/.local/bin/statusbar/help
@@ -0,0 +1,7 @@
+#!/usr/bin/env sh
+case $BLOCK_BUTTON in
+ 1) groff -mom ~/.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.";;
+esac; echo "❓"