aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/systemd')
-rw-r--r--dot_config/systemd/user/swayidle.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/systemd/user/swayidle.service b/dot_config/systemd/user/swayidle.service
index 478c8f8..a3a5a7e 100644
--- a/dot_config/systemd/user/swayidle.service
+++ b/dot_config/systemd/user/swayidle.service
@@ -11,6 +11,7 @@ ExecStart=/usr/bin/swayidle -w \
resume 'swaymsg "output * power on"' \
timeout 330 'swaylock -f -e -c 000000' \
before-sleep 'playerctl -a pause; swaylock -f -e -c 000000' \
+ after-resume '%h/.config/sway/display-toggle.sh apply' \
lock 'swaylock -f -e -c 000000'
Restart=on-failure
RestartSec=2s