diff --git a/328p1aa/home/.config/sway/config.d/window_rules.d/328p1aa b/328p1aa/home/.config/sway/config.d/window_rules.d/328p1aa new file mode 100644 index 0000000..c74a8ab --- /dev/null +++ b/328p1aa/home/.config/sway/config.d/window_rules.d/328p1aa @@ -0,0 +1,49 @@ +# +# window rules for a2337 +# + + workspace "10:" output DP-3 + + for_window [app_id="pavucontrol-qt$"] { + floating enable + sticky enable + resize set width 400 + resize set height 400 + move absolute position 4200 1010 + } + + for_window [app_id="nm-connection-editor$"] { + floating enable + sticky enable + resize set width 400 + resize set height 400 + move absolute position 4220 1010 + } + + for_window [app_id="blueman-manager$"] { + floating enable + sticky enable + resize set width 400 + resize set height 400 + move absolute position 4230 1010 + } + + for_window [app_id="nextcloud$"] { + floating enable + sticky enable + resize set width 600 + resize set height 500 + move absolute position 4230 1010 + } + + for_window [app_id="scrcpy"] { + floating enable + sticky enable +# resize set width 660 + resize set width 493 +# resize set height 1420 + resize set height 1060 +# move absolute position 1890 -480 +# move absolute position 1910 -480 + move absolute position 2210 -120 + } diff --git a/328p1aa/include b/328p1aa/include index 317274b..6fc86c5 100644 --- a/328p1aa/include +++ b/328p1aa/include @@ -5,3 +5,4 @@ .config/sway/assets/wallpaper/DP-3 .config/sway/config-vars.d/bash.d/desktop .config/sway/scripts/autostart_apps.d/328p1aa +.config/sway/config.d/window_rules.d/328p1aa