tileos-settings-sway/usr/lib/systemd/user/swayidle.service
Alexander Oakman 178b7041eb Fix showing a non-blurry screen when the laptop wakes up
Before entering sleep mode, make sure that the swayidle is waiting for all commands to be completed. This prevents unprotected content from briefly flashing on the laptop screen when it wakes up.
2024-07-17 22:21:11 +03:00

12 lines
238 B
Desktop File

[Unit]
Description=Idle manager for Wayland
Documentation=man:swayidle(1)
PartOf=graphical-session.target
ConditionPathExists=/usr/bin/swayidle
[Service]
Type=simple
ExecStart=/usr/bin/swayidle -w
[Install]
WantedBy=sway-session.target