voidrice/.local/bin/statusbar/help
2020-04-08 22:01:51 -04:00

8 lines
270 B
Bash
Executable file

#!/bin/sh
case $BLOCK_BUTTON in
1) groff -mom ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/readme.mom -Tpdf | zathura - ;;
2) i3 restart ;;
3) notify-send "❓ Help module" "\- Left click to open LARBS guide.
- Middle click to refresh i3.";;
esac; echo "❓"