summaryrefslogtreecommitdiff
path: root/.config/sway/config.d/10-window-rules
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway/config.d/10-window-rules')
-rw-r--r--.config/sway/config.d/10-window-rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/sway/config.d/10-window-rules b/.config/sway/config.d/10-window-rules
new file mode 100644
index 0000000..a5f38d8
--- /dev/null
+++ b/.config/sway/config.d/10-window-rules
@@ -0,0 +1,17 @@
+default_border pixel 2
+default_floating_border normal 2
+for_window {
+ [app_id="pavucontrol"] floating enable
+ [title="Picture-in-Picture"] floating enable, sticky enable, resize set 630 350, move position 1870 1050
+ [app_id="dragon-drag-and-drop"] sticky enable
+ [class=".*.exe"] floating enable
+ [app_id=".*.exe"] floating enable
+ [class="scrcpy"] floating enable, sticky enable, move scratchpad, scratchpad show
+}
+
+assign {
+ [class="(league|riot).*.exe"] $ws5
+ [class="discord"] $ws8
+ [class="^steam$"] $ws0
+ [class="^steam"] $ws9
+}