From f32a2ecf839bd7ccf69c9886aed60a632434d2a2 Mon Sep 17 00:00:00 2001 From: tiago Date: Mon, 22 May 2023 13:45:54 +0100 Subject: [PATCH] changed power-off to shutdown in powermenu --- .config/rofi/scripts/powermenu.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/rofi/scripts/powermenu.sh b/.config/rofi/scripts/powermenu.sh index 981df51..5c614df 100755 --- a/.config/rofi/scripts/powermenu.sh +++ b/.config/rofi/scripts/powermenu.sh @@ -1,10 +1,10 @@ -#! /usr/bin/env bash -OPTIONS="Suspend\nLock\nReboot\nPower-off\nExit i3\n" +#! /bin/sh +OPTIONS="Suspend\nLock\nReboot\nShutdown\nExit i3\n" LAUNCHER="rofi -dmenu -i -p Power" LOCKER="betterlockscreen -l" -option=$(echo -e "$OPTIONS" | $LAUNCHER | awk '{print $1}' | tr -d '\r\n') +option=$(echo -e "$OPTIONS" | $LAUNCHER | awk '{print $1}' | tr -d '\r\n') # fix -e flag if [ ${#option} -gt 0 ] then @@ -18,7 +18,7 @@ then Lock) $LOCKER ;; - Power-off) + Shutdown) systemctl poweroff ;; Exit)