From d3d110728be33c893219f75c42c479877ec45865 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 29 Apr 2024 20:15:01 -0600 Subject: [PATCH] New backup 2024-04-29 20:15:01 --- .../.config/sway/config-vars.d/sway.d/a2337 | 29 --------- de/exclude | 1 + de/home/.config/sway/config.d/window_rules | 60 +++++++++---------- 3 files changed, 31 insertions(+), 59 deletions(-) diff --git a/a2337/home/.config/sway/config-vars.d/sway.d/a2337 b/a2337/home/.config/sway/config-vars.d/sway.d/a2337 index 518c1c0..7c62a41 100644 --- a/a2337/home/.config/sway/config-vars.d/sway.d/a2337 +++ b/a2337/home/.config/sway/config-vars.d/sway.d/a2337 @@ -2,32 +2,3 @@ # sway vars for a2337 macbook # -#pavucontrol-qt -set $pavu_width 400 -set $pavu_height 400 -set $pavu_pos_x 1650 -set $pavu_pos_y 50 - -#nm-connection-editor -set $netman_width 400 -set $netman_height 400 -set $netman_x 1800 -set $netman_y 50 - -#blueman-manager -set $blueman_width 400 -set $blueman_height 400 -set $blueman_x 1800 -set $blueman_y 60 - -#nextcloud -set $ncwidth 600 -set $ncheight 500 -set $ncx 1940 -set $ncy 60 - -#scrcpy -set $scrcpywidth 600 -set $scrcpyheight 1300 -set $scrcpyx 20 -set $scrcpyy 60 diff --git a/de/exclude b/de/exclude index d7b122a..739c64c 100644 --- a/de/exclude +++ b/de/exclude @@ -6,3 +6,4 @@ .config/sway/scripts/autostart.d/328p1aa .config/sway/scripts/autostart.d/a2337 .config/sway/assets/wallpaper +.config/sway/config.d/window_rules.d diff --git a/de/home/.config/sway/config.d/window_rules b/de/home/.config/sway/config.d/window_rules index caa6008..fc79afb 100644 --- a/de/home/.config/sway/config.d/window_rules +++ b/de/home/.config/sway/config.d/window_rules @@ -1,25 +1,25 @@ - include $HOME/.config/sway/config-vars.d/* + include $HOME/.config/sway/config.d/window_rules.d/* # Add X indicator to xwayland windows for_window [shell="xwayland"] title_format "[X] %title" # float applet windows # for_window [app_id="pavucontrol-qt$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $pavu_width, resize set height $pavu_height, border pixel 3, move absolute position $pavu_pos_x $pavu_pos_y - for_window [app_id="nm-connection-editor$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $netman_width, resize set height $netman_height, border pixel 3, move absolute position $pavu_pos_x $pavu_pos_y - for_window [app_id="blueman-manager$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $blueman_width, resize set height $blueman_height, border pixel 3, move absolute position $netman_x $netman_y - for_window [app_id="nextcloud$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $nc_width, resize set height $nc_height, border pixel 3, move absolute position $nc_x $nc_y - for_window [app_id="scrcpy"] floating enable, border none, move scratchpad, scratchpad show, resize set width $scrcpy_width, resize set height $scrcpy_height, border pixel 3, move absolute position $scrcpyx $scrcpyy +# for_window [app_id="nm-connection-editor$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $netman_width, resize set height $netman_height, border pixel 3, move absolute position $pavu_pos_x $pavu_pos_y +# for_window [app_id="blueman-manager$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $blueman_width, resize set height $blueman_height, border pixel 3, move absolute position $netman_x $netman_y +# for_window [app_id="nextcloud$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width $nc_width, resize set height $nc_height, border pixel 3, move absolute position $nc_x $nc_y +# for_window [app_id="scrcpy"] floating enable, border none, move scratchpad, scratchpad show, resize set width $scrcpy_width, resize set height $scrcpy_height, border pixel 3, move absolute position $scrcpyx $scrcpyy - for_window [app_id="pavucontrol-qt$"] { - floating enable - move scratchpad - sticky enable - scratchpad show - resize set width $pavu_width - resize set height $pavu_height - move absolute position $pavu_pos_x $pavu_pos_y - } +# for_window [app_id="pavucontrol-qt$"] { +# floating enable +# move scratchpad +# sticky enable +# scratchpad show +# $pavuwidth +# $pavuheight +# $pavupos +# } # Armcord opens in scratchpad for_window [class="ArmCord$"] move scratchpad, floating enable, scratchpad hide @@ -35,21 +35,21 @@ # ScratchPad - Dropdown Windows # # General dropdown window traits. The order can matter. - for_window [title="Dropdown *"] floating enable - for_window [title="Dropdown *"] move scratchpad - for_window [title="Dropdown *"] sticky enable - for_window [title="Dropdown *"] scratchpad show - for_window [title="Dropdown *"] resize set width 625 - for_window [title="Dropdown *"] resize set height 400 - for_window [title="Dropdown *"] border pixel 3 - for_window [title="Dropdown *"] move position center +# for_window [title="Dropdown *"] floating enable +# for_window [title="Dropdown *"] move scratchpad +# for_window [title="Dropdown *"] sticky enable +# for_window [title="Dropdown *"] scratchpad show +# for_window [title="Dropdown *"] resize set width 625 +# for_window [title="Dropdown *"] resize set height 400 +# for_window [title="Dropdown *"] border pixel 3 +# for_window [title="Dropdown *"] move position center # General dropdown window traits. The order can matter. - for_window [title="Dropdown Launcher*"] floating enable - for_window [title="Dropdown Launcher*"] move scratchpad - for_window [title="Dropdown Launcher*"] sticky enable - for_window [title="Dropdown Launcher*"] scratchpad show - for_window [title="Dropdown Launcher*"] resize set width 225 - for_window [title="Dropdown Launcher*"] resize set height 100 - for_window [title="Dropdown Launcher*"] border pixel 0 - for_window [title="Dropdown Launcher*"] move position center +# for_window [title="Dropdown Launcher*"] floating enable +# for_window [title="Dropdown Launcher*"] move scratchpad +# for_window [title="Dropdown Launcher*"] sticky enable +# for_window [title="Dropdown Launcher*"] scratchpad show +# for_window [title="Dropdown Launcher*"] resize set width 225 +# for_window [title="Dropdown Launcher*"] resize set height 100 +# for_window [title="Dropdown Launcher*"] border pixel 0 +# for_window [title="Dropdown Launcher*"] move position center