From 41298489c49330d7ff0b0507f61a2d4d7bb95d01 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Mon, 27 Feb 2023 22:00:36 +0000 Subject: [PATCH] Updated window rules for steam and crow translator. --- .config/sway/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 66acc20..92bdf23 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -255,8 +255,8 @@ exec swayidle -w \ # bindsym $mod+Tab exec toggle-mic-notify bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle - bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% - bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% + #bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% + #bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # # Resizing containers: # @@ -359,6 +359,7 @@ assign [class="WebCord"] workspace 3:s assign [class="Signal"] workspace 3:s for_window [title="^WhatsApp — Mozilla Firefox$"] move container to workspace 3:s; assign [class="Steam"] workspace 4:t +assign [class="steamwebhelper"] workspace 4:t # Inhibit idle if fullscreen for_window [app_id="^.*"] inhibit_idle fullscreen for_window [class="^.*"] inhibit_idle fullscreen @@ -368,12 +369,14 @@ for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle focus # Floating windows for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px; for_window [class="^Steam$"] floating enable +for_window [class="^steamwebhelper$"] floating enable for_window [class="^Steam$" title="^Steam$"] floating disable for_window [class="genshinimact.exe"] floating enable for_window [class=".*.exe$"] floating enable for_window [class="^QjackCtl$"] floating enable for_window [class="^QjackCtl$" title="Graph — QjackCtl"] floating disable -for_window [app_id="app.drey.Dialect"] floating enable +for_window [app_id="^app.drey.Dialect$"] floating enable +for_window [app_id="^io.crow_translate.CrowTranslate$"] floating enable # Move windows to trash workspace for_window [title="^Origin$"] floating enable, move container to workspace trash; for_window [title="^Wine System Tray$"] move container to workspace trash;