Skip to content

Commit 396562c

Browse files
committed
Fixed swayidle and dimm desktop before disabling monitors
1 parent 56cd51f commit 396562c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/systemd/user/swayidle.service.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ PartOf=sway-session.target
55

66
[Service]
77
Type=simple
8-
ExecStart=ExecStart=/usr/bin/swayidle \
9-
timeout 240 'wlsunset -g 0.6' \
8+
ExecStart=/usr/bin/swayidle \
9+
timeout 240 'wlsunset -l ${RS_LAT} -L ${RS_LON} -t ${RS_NIGHT} -T 5001 -g 0.6' \
1010
resume 'pkill wlsunset' \
1111
timeout 300 '%h/.local/bin/sway/lock.sh' \
1212
timeout 600 'swaymsg "output * dpms off"' \

0 commit comments

Comments
 (0)