aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/sway/config
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:06 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:06 +0100
commit5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca (patch)
treea49e9d5c8e22f3def4c440ae8130d88ea9bbde65 /home/.config/sway/config
parent2850bd9f630e7fc44c79ad5c226ba6481e534481 (diff)
downloaddotfiles-5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca.tar.gz
dotfiles-5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca.tar.bz2
dotfiles-5e564b6a5bf7f58550d47c2bf5ca0d23f340a4ca.zip
fix: add logging and robustness to display-toggle
Added logging to $XDG_RUNTIME_DIR/display-toggle.log for debugging. Single swaymsg call for output detection, proper error handling, increased startup delay to 2s.
Diffstat (limited to 'home/.config/sway/config')
-rw-r--r--home/.config/sway/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/sway/config b/home/.config/sway/config
index 2d85a6c..854cb39 100644
--- a/home/.config/sway/config
+++ b/home/.config/sway/config
@@ -155,4 +155,4 @@ bar {
exec systemctl --user import-environment WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec mako
-exec "sleep 1 && ~/.config/sway/display-toggle.sh init"
+exec "sleep 2 && ~/.config/sway/display-toggle.sh init"