diff options
| author | Robert Günzler <r@gnzler.io> | 2022-09-28 19:29:53 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-09-28 19:29:53 +0200 |
| commit | e8222de247a0859990bf867f44cfa374163d711a (patch) | |
| tree | 84e4ddf722dfe26623c07e6543b02fe10fc4a231 | |
| parent | 9938b83d658680ff50e5fe4ea1ae275ebbfc23bf (diff) | |
sway: toggle dpms on before running kanshi
| -rw-r--r-- | .config/sway/binds.conf | 4 | ||||
| -rw-r--r-- | .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 |