summaryrefslogtreecommitdiff
path: root/.config/sway/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config14
1 files changed, 0 insertions, 14 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 1440c4f4..25ca1f01 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -349,18 +349,4 @@ exec update-emacs-daemon-environment
exec_always fcitx5 -d --replace
-# ideally we wouldn't try to call swaylock if the screen is already locked,
-# but discovering whether swaylock is already running in a way that avoids
-# races is difficult or impossible because swaylock doesn't have a mechanism
-# to report that it's successfully locked the screen other than daemonising.
-# so, until it does, the following means a lot of "failed to lock; already
-# locked?" messages on stderr.
-exec swayidle -w \
- lock 'swaylock -f' \
- before-sleep 'swaylock -f' \
- timeout 300 'swaylock -f' \
- timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
-
-# TODO non-transparent automatic lock, manual lock still semi-transparent?
-
include ~/.config/sway/$(hostname)/*