sway: Tweak for_window config

This commit is contained in:
2023-04-16 23:53:24 +02:00
parent 1d3bc14db3
commit 25ad8f7815

View File

@ -309,13 +309,20 @@ bar {
# Window settings
# use `swaymsg -t get_tree | grep "app_id"` to list window ids. can also grep for "name"
for_window [app_id=".*"] border pixel 2
for_window [app_id="^volume_indicator$"] border pixel 0; floating enable; resize set 300 80; position center
for_window [app_id="file_picker"] floating enable
for_window [app_id="zoom"] floating enable
for_window [app_id="org.keepassxc.KeePassXC"] floating enable
#for_window [name="Firefox - Delningsindikator"] floating enable
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
for_window {
[app_id=".*"] border pixel 2
[app_id="^volume_indicator$"] border pixel 0; floating enable; resize set 300 80; position center
[app_id="file_picker"] floating enable
[app_id="zoom"] floating enable
[title="Firefox - Delningsindikator"] floating enable
[app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
[class="Steam"] floating enable; max_render_time off
[app_id="org.keepassxc.KeePassXC"] move to scratchpad, scratchpad show
[window_role="pop-up"] floating enable
[window_role="bubble"] floating enable
[window_role="dialog"] floating enable
[window_type="dialog"] floating enable
}
include /etc/sway/config.d/*