summaryrefslogtreecommitdiff
path: root/rofimenu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rofimenu.sh')
-rwxr-xr-xrofimenu.sh7
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