Fix relaunch

This commit is contained in:
Ryan Hughes
2025-10-06 11:06:45 -04:00
parent 6a2b68c9d2
commit 4b5f310e51
2 changed files with 3 additions and 1 deletions

View File

@@ -451,7 +451,7 @@ show_system_menu() {
*Lock*) omarchy-lock-screen ;;
*Screensaver*) omarchy-launch-screensaver force ;;
*Suspend*) systemctl suspend ;;
*Relaunch*) uwsm stop ;;
*Relaunch*) sudo systemctl restart sddm ;;
*Restart*) systemctl reboot ;;
*Shutdown*) systemctl poweroff ;;
*) back_to show_main_menu ;;

View File

@@ -11,4 +11,6 @@ Current=breeze
EOF
fi
echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart sddm" | sudo tee /etc/sudoers.d/allow-passwordless-restart-sddm
chrootable_systemctl_enable sddm.service