1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-12 19:54:16 +00:00
Dotfiles/.config/polybar/themes/spacefull-dracula/scripts/powermenu-alt
2020-09-05 14:43:37 +03:00

12 lines
413 B
Bash
Executable file

#!/bin/bash
## Created By Aditya Shakya
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< "> Lock|> Logout|> Reboot|> Shutdown")"
case "$MENU" in
*Lock) i3lock-fancy ;;
*Logout) openbox --exit;;
*Reboot) systemctl reboot ;;
*Shutdown) systemctl -i poweroff
esac