add user and install scripts

This commit is contained in:
ITmail-dk
2022-01-06 11:57:50 +01:00
parent 8552186946
commit c264b45a9d
11 changed files with 272 additions and 4 deletions

10
user-scripts/powermenu.sh Normal file
View 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