aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sway/config')
-rw-r--r--dot_config/sway/config7
1 files changed, 0 insertions, 7 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config
index d1357a7..966c6ca 100644
--- a/dot_config/sway/config
+++ b/dot_config/sway/config
@@ -155,10 +155,3 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CU
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec "sleep 2 && ~/.config/sway/display-toggle.sh init"
exec systemctl --user start sway-session.target
-
-# Idle: lock at 5min (matches IdleActionSec), blank at 6min, lock before sleep.
-exec swayidle -w \
- timeout 300 'swaylock -f -e -c 282828' \
- timeout 360 'swaymsg "output * power off"' \
- resume 'swaymsg "output * power on"' \
- before-sleep 'playerctl -a pause; swaylock -f -e -c 282828'