voidrice/.local/bin/statusbar/help

9 lines
299 B
Text
Raw Normal View History

#!/bin/sh
2019-11-23 21:23:24 +00:00
case $BLOCK_BUTTON in
2020-04-08 23:06:11 +00:00
1) groff -mom ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/readme.mom -Tpdf | zathura - ;;
2019-11-23 21:23:24 +00:00
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 "❓"