summaryrefslogtreecommitdiff
path: root/rofimenu.sh
diff options
context:
space:
mode:
authordoc <doc@filenotfound.org>2025-07-27 21:40:33 +0000
committerdoc <doc@filenotfound.org>2025-07-27 21:40:33 +0000
commitd24f56519425c3dd4a4e016002f9305957895afb (patch)
treee71c69712928d4c06711c54b6c1ff3dfa6566e5d /rofimenu.sh
parentc15d45611d7d0a161111baf75b6e52d753552d19 (diff)
second commitHEADmaster
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