Updated window rules for steam and crow translator.

This commit is contained in:
Sheldon Lee 2023-02-27 22:00:36 +00:00
parent ca369775b4
commit 41298489c4

View File

@ -255,8 +255,8 @@ exec swayidle -w \
# #
bindsym $mod+Tab exec toggle-mic-notify bindsym $mod+Tab exec toggle-mic-notify
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym --locked XF86AudioLowerVolume 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% #bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
# #
# Resizing containers: # Resizing containers:
# #
@ -359,6 +359,7 @@ assign [class="WebCord"] workspace 3:s
assign [class="Signal"] workspace 3:s assign [class="Signal"] workspace 3:s
for_window [title="^WhatsApp — Mozilla Firefox$"] move container to workspace 3:s; for_window [title="^WhatsApp — Mozilla Firefox$"] move container to workspace 3:s;
assign [class="Steam"] workspace 4:t assign [class="Steam"] workspace 4:t
assign [class="steamwebhelper"] workspace 4:t
# Inhibit idle if fullscreen # Inhibit idle if fullscreen
for_window [app_id="^.*"] inhibit_idle fullscreen for_window [app_id="^.*"] inhibit_idle fullscreen
for_window [class="^.*"] 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 # Floating windows
for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px; for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px;
for_window [class="^Steam$"] floating enable for_window [class="^Steam$"] floating enable
for_window [class="^steamwebhelper$"] floating enable
for_window [class="^Steam$" title="^Steam$"] floating disable for_window [class="^Steam$" title="^Steam$"] floating disable
for_window [class="genshinimact.exe"] floating enable for_window [class="genshinimact.exe"] floating enable
for_window [class=".*.exe$"] floating enable for_window [class=".*.exe$"] floating enable
for_window [class="^QjackCtl$"] floating enable for_window [class="^QjackCtl$"] floating enable
for_window [class="^QjackCtl$" title="Graph — QjackCtl"] floating disable 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 # Move windows to trash workspace
for_window [title="^Origin$"] floating enable, move container to workspace trash; for_window [title="^Origin$"] floating enable, move container to workspace trash;
for_window [title="^Wine System Tray$"] move container to workspace trash; for_window [title="^Wine System Tray$"] move container to workspace trash;