From f49623b0a2eeb59ed535d8d2469dc011b671a948 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Mon, 29 Apr 2024 17:15:01 -0600 Subject: [PATCH] New backup 2024-04-29 17:15:01 --- .../.config/sway/config-vars.d/sway.d/a2337 | 32 +++++++++++++++++++ de/home/.config/sway/config.d/window_rules | 12 +++---- 2 files changed, 37 insertions(+), 7 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 f8ca27f..ffff3c7 100644 --- a/a2337/home/.config/sway/config-vars.d/sway.d/a2337 +++ b/a2337/home/.config/sway/config-vars.d/sway.d/a2337 @@ -1 +1,33 @@ +# # 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/home/.config/sway/config.d/window_rules b/de/home/.config/sway/config.d/window_rules index d5f732b..7f90754 100644 --- a/de/home/.config/sway/config.d/window_rules +++ b/de/home/.config/sway/config.d/window_rules @@ -3,13 +3,11 @@ 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 400, resize set height 400, border pixel 3, move absolute position 1650 50 - for_window [app_id="nm-connection-editor$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width 400, resize set height 400, border pixel 3, move absolute position 1800 50 - for_window [app_id="blueman-manager$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width 400, resize set height 400, border pixel 3, move absolute position 1800 60 - for_window [app_id="nextcloud$"] floating enable, move scratchpad, sticky enable, scratchpad show, resize set width 600, resize set height 500, border pixel 3, move absolute position 1940 60 - for_window [app_id="scrcpy"] floating enable, border none, move scratchpad, scratchpad show, resize set width 600, resize set height 1300, border pixel 3, move absolute position 20 60 - for_window [app_id="copyq"] floating enable, sticky enable, resize set height 600, resize set width 650, move position cursor, move down 330 -#, resize set width 600, resize set height 500, border pixel 3, move absolute position 1940 60 + 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 $ncwidth, resize set height $ncheight, border pixel 3, move absolute position ${ncx} ${ncy} + 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 # Armcord opens in scratchpad for_window [class="ArmCord$"] move scratchpad, floating enable, scratchpad hide