add user and install scripts
This commit is contained in:
10
user-scripts/powermenu.sh
Normal file
10
user-scripts/powermenu.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
chosen=$(printf " Power Off\n Restart\n Lock" | rofi -dmenu -i -theme-str '@import "powermenu.rasi"')
|
||||
|
||||
case "$chosen" in
|
||||
" Power Off") poweroff ;;
|
||||
" Restart") reboot ;;
|
||||
" Lock") i3lock-fancy -gpf DejaVu Sans -- scrot -z ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user