Use systemctl for shutdown and reboot

This commit is contained in:
ItsLemmy
2025-10-21 10:02:56 -04:00
parent ff659911bc
commit 7a2e2ca0b3
+2 -2
View File
@@ -329,12 +329,12 @@ Singleton {
function shutdown() {
Logger.i("Compositor", "Shutdown requested")
Quickshell.execDetached(["shutdown", "-h", "now"])
Quickshell.execDetached(["systemctl", "poweroff"])
}
function reboot() {
Logger.i("Compositor", "Reboot requested")
Quickshell.execDetached(["reboot"])
Quickshell.execDetached(["systemctl", "reboot"])
}
function suspend() {