new setup structure multiple fonts and various other small bug fixes
This commit is contained in:
10
config/rofi/powermenu.sh
Normal file
10
config/rofi/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") systemctl poweroff ;;
|
||||
" Restart") systemctl reboot ;;
|
||||
" Lock") i3lock-fancy -gp -- scrot -z ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user