diff options
author | doc <doc@filenotfound.org> | 2025-07-27 21:40:33 +0000 |
---|---|---|
committer | doc <doc@filenotfound.org> | 2025-07-27 21:40:33 +0000 |
commit | d24f56519425c3dd4a4e016002f9305957895afb (patch) | |
tree | e71c69712928d4c06711c54b6c1ff3dfa6566e5d /rofimenu.sh | |
parent | c15d45611d7d0a161111baf75b6e52d753552d19 (diff) |
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 |