From d24f56519425c3dd4a4e016002f9305957895afb Mon Sep 17 00:00:00 2001 From: doc Date: Sun, 27 Jul 2025 21:40:33 +0000 Subject: second commit --- rofimenu.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 rofimenu.sh (limited to 'rofimenu.sh') 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 -- cgit v1.2.3