1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

unified SessionService to support elogind equivalents of systemd

commands
This commit is contained in:
bbedward
2025-08-22 11:40:20 -04:00
parent de17d53f1e
commit dd99cb7ef8
38 changed files with 84 additions and 91 deletions

View File

@@ -26,13 +26,13 @@ DankModal {
CompositorService.logout()
break
case "suspend":
Quickshell.execDetached(["systemctl", "suspend"])
SessionService.suspend()
break
case "reboot":
Quickshell.execDetached(["systemctl", "reboot"])
SessionService.reboot()
break
case "poweroff":
Quickshell.execDetached(["systemctl", "poweroff"])
SessionService.poweroff()
break
}
}