dotfiles/.local/bin/statusbar/sb-powerbutton
2024-04-23 07:46:41 +05:00

14 lines
226 B
Bash
Executable File

#!/bin/sh
# The clickable help menu. Middle click to restart wm.
case $BLOCK_BUTTON in
1) sysact ;;
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac;
if [ ! -e ~/.cache/bar_color ]; then
echo " "
else
echo "^C1^ ^d^"
fi