diff options
| author | 2026-05-13 13:43:11 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:11 +0100 | |
| commit | 456aa855b4348a8aa8b4a6679d5edfffdb235452 (patch) | |
| tree | fd564af6513ec1803c6ee0ddce5a0915f0d647d6 /etc | |
| parent | 390afffb4e40276129715a1e54187dec1079cfa6 (diff) | |
| download | dotfiles-456aa855b4348a8aa8b4a6679d5edfffdb235452.tar.gz dotfiles-456aa855b4348a8aa8b4a6679d5edfffdb235452.tar.bz2 dotfiles-456aa855b4348a8aa8b4a6679d5edfffdb235452.zip | |
refactor(sway): manage swayidle as a user unit; drop logind override
- New dot_config/systemd/user/swayidle.service, pulled in by
sway-session.target alongside mako/display-watcher/poweralertd. Same
lifetime as the rest of the session: starts after graphical-session,
restarts on failure, stops on logout.
- Drop the swayidle exec from sway config (was unmanaged background
process with no restart, no logging hookup).
- Revert etc/systemd/logind.conf overrides: swayidle handles idle-lock
directly via Wayland ext-idle-notifier, so the logind IdleAction
belt-and-suspenders is redundant. Run just etc-reset
/etc/systemd/logind.conf on the host to restore pristine.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/systemd/logind.conf | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/etc/systemd/logind.conf b/etc/systemd/logind.conf deleted file mode 100644 index 37c0b1f..0000000 --- a/etc/systemd/logind.conf +++ /dev/null @@ -1,57 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it under the -# terms of the GNU Lesser General Public License as published by the Free -# Software Foundation; either version 2.1 of the License, or (at your option) -# any later version. -# -# Entries in this file show the compile time defaults. Local configuration -# should be created by either modifying this file (or a copy of it placed in -# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in -# the /etc/systemd/logind.conf.d/ directory. The latter is generally -# recommended. Defaults can be restored by simply deleting the main -# configuration file and all drop-ins located in /etc/. -# -# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config. -# -# See logind.conf(5) for details. - -[Login] -#NAutoVTs=6 -#ReserveVT=6 -#KillUserProcesses=no -#KillOnlyUsers= -#KillExcludeUsers=root -#InhibitDelayMaxSec=5 -#UserStopDelaySec=10 -#SleepOperation=suspend-then-hibernate suspend -#HandlePowerKey=poweroff -#HandlePowerKeyLongPress=ignore -#HandleRebootKey=reboot -#HandleRebootKeyLongPress=poweroff -#HandleSuspendKey=suspend -#HandleSuspendKeyLongPress=hibernate -#HandleHibernateKey=hibernate -#HandleHibernateKeyLongPress=ignore -#HandleLidSwitch=suspend -#HandleLidSwitchExternalPower=suspend -#HandleLidSwitchDocked=ignore -#HandleSecureAttentionKey=secure-attention-key -#PowerKeyIgnoreInhibited=no -#SuspendKeyIgnoreInhibited=no -#HibernateKeyIgnoreInhibited=no -#LidSwitchIgnoreInhibited=yes -#RebootKeyIgnoreInhibited=no -#HoldoffTimeoutSec=30s -#IdleAction=ignore -IdleAction=lock -#IdleActionSec=30min -IdleActionSec=5min -#RuntimeDirectorySize=10% -#RuntimeDirectoryInodesMax= -#RemoveIPC=yes -#InhibitorsMax=8192 -#SessionsMax=8192 -#StopIdleSessionSec=infinity -#DesignatedMaintenanceTime= -#WallMessages=yes |
