feat(power): logout via loginctl, not Niri-locked
Default `loginctl terminate-session $XDG_SESSION_ID`; `logout_command` TOML override for other compositors.
This commit is contained in:
@@ -4,3 +4,9 @@
|
||||
# Path to background image (optional)
|
||||
# Fallback order: config → /usr/share/moonarch/wallpaper.jpg → bundled package wallpaper
|
||||
# background_path = "/usr/share/moonarch/wallpaper.jpg"
|
||||
|
||||
# Logout command override (optional, space-separated program + args)
|
||||
# Default: terminate the logind session via `loginctl terminate-session $XDG_SESSION_ID`
|
||||
# (compositor-agnostic). Set this only for non-logind setups or to delegate
|
||||
# logout to the compositor.
|
||||
# logout_command = "niri msg action quit"
|
||||
|
||||
Reference in New Issue
Block a user