diff --git a/.config/rofi/powermenu.sh b/.config/rofi/powermenu.sh index 4b15c30..b726283 100755 --- a/.config/rofi/powermenu.sh +++ b/.config/rofi/powermenu.sh @@ -2,7 +2,7 @@ ROFI_CONFIG_DIR="$XDG_CONFIG_HOME/rofi/" -UPTIME="`uptime -p | sed -e 's/up //g'`" +UPTIME="$(uptime | awk -F'( |,|:)+' '{print $6,$7",",$8,"hours,",$9,"minutes."}')" SHUTDOWN="" RESTART="" @@ -37,8 +37,8 @@ case ${selection} in fi ;; $WINDOWS) - # TODO - # grub-set-default + boot-windows + systemctl reboot ;; esac