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:
parent
88e5d60fbc
commit
178b7041eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue