sway: Add window rules for flameshot

This commit is contained in:
histalek 2022-09-06 08:49:58 +02:00
parent 94c0cb774f
commit ee61de61cd
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

View file

@ -21,6 +21,10 @@ for_window {
[app_id="^org.keepassxc.KeePassXC$"] floating enable
[app_id="mpv"] inhibit_idle visible; border none; max_render_time off
# `fullscreen disable` makes flameshot work across multiple displays
# but it also excludes areas of the screen which are not used by windows e.g. swaybar.
[app_id="flameshot"] floating enable, fullscreen disable, move absolute position 0 0, border pixel 0
# Looking Glass latency tuning. Ref.: https://looking-glass.io/wiki/Wayland_latency_tuning
# [app_id="^looking-glass-client$"] max_render_time 3