commit deeaf5e123f275abc2f6364a23500bd006e296c5
parent 7e93df9133047ed972716523c5fcc7b4b8cb0370
Author: awy <awy@awy.one>
Date: Fri, 4 Jul 2025 00:46:52 +0300
steam float rules
Diffstat:
1 file changed, 28 insertions(+), 17 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config
@@ -53,22 +53,33 @@ for_window [app_id="^.*"] inhibit_idle fullscreen
floating_modifier $mod normal
# floating window assigments
-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_type = "dialog"] floating enable
-for_window [window_role = "task_dialog"] floating enable
-for_window [window_type = "menu"] floating enable
-for_window [app_id = "floating"] floating enable
-for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
-for_window [class = "(?i)pinentry"] floating enable
-for_window [title = "Administrator privileges required"] floating enable
-for_window [title = "About Mozilla Firefox"] floating enable
-for_window [window_role = "About"] floating enable
-for_window [app_id="firefox" title="Library"] floating enable, border pixel 1, sticky enable
-for_window [app_id="termfloat"] floating enable
-for_window [app_id="termfloat"] resize set height 540
-for_window [app_id="termfloat"] resize set width 960
+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_type = "dialog"] floating enable
+for_window [window_role = "task_dialog"] floating enable
+for_window [window_type = "menu"] floating enable
+for_window [app_id = "floating"] floating enable
+for_window [app_id = "floating_update"] floating enable, resize set width 1000px height 600px
+for_window [class = "(?i)pinentry"] floating enable
+for_window [title = "Administrator privileges required"] floating enable
+for_window [title = "About Mozilla Firefox"] floating enable
+for_window [window_role = "About"] floating enable
+for_window [app_id="firefox" title="Library"] floating enable, border pixel 1, sticky enable
+for_window [app_id="termfloat"] floating enable
+for_window [app_id="termfloat"] resize set height 540
+for_window [app_id="termfloat"] resize set width 960
+for_window [class="^steam$" title="^Friends List$"] 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="^Recordings & Screenshots$"] floating enable
+for_window [class="^steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
+for_window [title="^Steam Keyboard$"] floating enable
# BINDS
bindsym $mod+h focus left
@@ -109,7 +120,7 @@ bindsym $mod+f9 exec mounter
bindsym $mod+f10 exec unmounter
bindsym $mod+f11 exec "mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)"
bindsym Print exec 'grim pic-full-$(date '+%y%m%d-%H%M-%S').png'
-bindsym Shift+Print exec maimpick
+bindsym Shift+Print exec maimpick
bindsym $mod+Print exec dmenurecord
bindsym $mod+Shift+Print exec 'dmenurecord kill'
bindsym $mod+Shift+space floating toggle