added boot to windows from nix config to powermenu

This commit is contained in:
2024-06-18 21:35:17 +02:00
parent deaff85de5
commit e3934aea05

View File

@@ -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