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.
This commit is contained in:
Alexander Oakman 2024-07-17 22:09:30 +03:00
parent 88e5d60fbc
commit 178b7041eb

View file

@ -6,7 +6,7 @@ ConditionPathExists=/usr/bin/swayidle
[Service]
Type=simple
ExecStart=/usr/bin/swayidle
ExecStart=/usr/bin/swayidle -w
[Install]
WantedBy=sway-session.target