From e8222de247a0859990bf867f44cfa374163d711a Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 28 Sep 2022 19:29:53 +0200 Subject: sway: toggle dpms on before running kanshi --- .config/sway/binds.conf | 4 ++-- .config/sway/config | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index 28013c5..b7f618c 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -267,8 +267,8 @@ bindsym XF86AudioNext exec playerctl -p playerctld next bindsym XF86AudioPrev exec playerctl -p playerctld previous bindsym XF86WakeUp exec true -bindsym XF86Display exec kanshictl reload; output * dpms on -bindsym XF86Tools exec true +bindsym XF86Display output - dpms on; exec kanshictl reload +bindsym XF86Tools output - dpms toggle bindsym XF86Keyboard exec true bindsym XF86Favorites exec s6-svc -r $HOME/.local/share/s6/wlsunset diff --git a/.config/sway/config b/.config/sway/config index ab1f6e7..f395107 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -2,8 +2,9 @@ gaps inner 0 -output * scale 1 -output * adaptive_sync on +output * { + adaptive_sync on +} # for_window [app_id=Alacritty] max_render_time 2 # for_window [app_id=firefox] max_render_time 3 -- cgit 1.4.1