Переглянути джерело

update floating window settings

Casey DeLorme 9 місяців тому
батько
коміт
354e91bc8b
1 змінених файлів з 28 додано та 2 видалено
  1. 28 2
      install/etc/skel/.config/sway/config

+ 28 - 2
install/etc/skel/.config/sway/config

@@ -125,17 +125,43 @@ bindsym $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ 0 # mute mic
 bindsym --release $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ 1 # unmute mic
 bindsym $mod+Shift+m exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
 
+# Tag xwayland windows with [X]
+for_window [shell="xwayland"] title_format "<span>[X] %title゜</span>"
+
 # classify sane defaults for window management
+for_window [window_role="About"] floating enable
 for_window [window_role="pop-up"] floating enable
 for_window [window_role="bubble"] floating enable
+for_window [window_role="dialog"] floating enable
 for_window [window_role="task_dialog"] floating enable
 for_window [window_role="Preferences"] floating enable
+
 for_window [window_type="dialog"] floating enable
 for_window [window_type="menu"] floating enable
-for_window [window_role="About"] floating enable
+
 for_window [class="xdg-desktop-portal-kde"] floating enable
 for_window [class="Wine"] floating enable
-for_window [app_id="lutris"] floating enable
+
+for_window [app_id="pavucontrol"] floating enable
+for_window [app_id="floating"] floating enable
+
+for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
+for_window [title="Save File"] floating enable
+for_window [title="^Open File$"] floating enable
+for_window [title="Firefox - Choose User Profile" ] floating enable
+for_window [title="About Mozilla Firefox"] floating enable
+
+# https://github.com/ValveSoftware/steam-for-linux/issues/1040
+for_window [class="^Steam$" title="^Friends$"] floating enable
+for_window [class="^Steam$" title="Steam - News"] floating enable
+for_window [class="^Steam$" title=".* - Chat"] floating enable
+for_window [class="^Steam$" title="^Settings$"] floating enable
+for_window [class="^Steam$" title=".* - event started"] floating enable
+for_window [class="^Steam$" title=".* CD key"] floating enable
+for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
+for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
+for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
+for_window [title="^Steam Keyboard$"] floating enable
 
 # @reference: man 5 sway-bar
 # @note: we now launch waybar via systemctl --user enable waybar.service