mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
Fix relaunch
This commit is contained in:
@@ -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 ;;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user