diff options
Diffstat (limited to 'rofimenu.sh')
-rwxr-xr-x | rofimenu.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rofimenu.sh b/rofimenu.sh new file mode 100755 index 0000000..8c47c35 --- /dev/null +++ b/rofimenu.sh @@ -0,0 +1,7 @@ +#!/bin/bash +chosen=$(echo -e "Reboot\nShutdown\nLock" | rofi -dmenu -solarized -p "Power") +case "$chosen" in + Reboot) systemctl reboot ;; + Shutdown) systemctl poweroff ;; + Lock) i3lock ;; +esac |