initial dotfiles
This commit is contained in:
commit
45e5fe53d2
370 changed files with 25449 additions and 0 deletions
11
.config/scripts/rofi-menus/powermenu.sh
Executable file
11
.config/scripts/rofi-menus/powermenu.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/env bash
|
||||
|
||||
choice=$(printf " Lock\n Logout\n Suspend\n Reboot\n Shutdown" | rofi -dmenu)
|
||||
|
||||
case "$choice" in
|
||||
" Lock") sh $HOME/bin/screen-lock.sh ;;
|
||||
" Logout") pkill -KILL -u "$USER" ;;
|
||||
" Suspend") sh $HOME/bin/screen-lock.sh --suspend ;;
|
||||
" Reboot") systemctl reboot ;;
|
||||
" Shutdown") systemctl poweroff ;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue