From 3d16f38c3dd72a3d53ade5243e40744b823b3632 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:11:30 -0700 Subject: [PATCH] Update .config/rofi/powermenu/type-1/powermenu.sh --- .../powermenu/type-1/executable_powermenu.sh | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/dot_config/rofi/powermenu/type-1/executable_powermenu.sh b/dot_config/rofi/powermenu/type-1/executable_powermenu.sh index dd978af..843e094 100644 --- a/dot_config/rofi/powermenu/type-1/executable_powermenu.sh +++ b/dot_config/rofi/powermenu/type-1/executable_powermenu.sh @@ -11,11 +11,11 @@ # Current Theme dir="$HOME/.config/rofi/powermenu/type-1" -theme='style-1' +theme='style-5' # CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` +uptime="$(uptime -p | sed -e 's/up //g')" +host=$(hostname) # Options shutdown=' Shutdown' @@ -88,23 +88,23 @@ run_cmd() { # Actions chosen="$(run_rofi)" case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; +$shutdown) + run_cmd --shutdown + ;; +$reboot) + run_cmd --reboot + ;; +$lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; +$suspend) + run_cmd --suspend + ;; +$logout) + run_cmd --logout + ;; esac