+ Added scripts directory

This commit is contained in:
ziro 2020-04-19 14:31:51 +07:00
parent c42020a930
commit 08332199a2
23 changed files with 547 additions and 0 deletions

23
.scripts/prompt Executable file
View file

@ -0,0 +1,23 @@
#!/bin/sh
#--- Option ------------------
cancel=""
suspend=""
log_out=""
restart=""
shutdown=""
#--- Choices -----------------
choice="$cancel
$shutdown
$restart
$suspend
$log_out"
chosen=$(echo -en "$choice" | rofi -selected-row 0 -dmenu -i -theme ~/.config/rofi/theme/Android/five.rasi)
case "$chosen" in
$cancel) ;;
$log_out) bspc quit ;;
$suspend) systemctl suspend ;;
$restart) systemctl reboot ;;
$shutdown) systemctl poweroff ;;
esac