dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

dmenushutdown (172B)


      1 #!/bin/sh
      2 
      3 RET=$(echo -e "shutdown\nreboot\ncancel" | dmenu -l 5 -p "")
      4 
      5 case $RET in
      6     shutdown) sudo -A shutdown -h now ;;
      7     reboot) sudo reboot ;;
      8     *) ;;
      9 esac