From 984e7269ffea2aff91d343e3d6580187bde2143d Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Mon, 6 Jan 2025 14:45:38 +0100 Subject: [PATCH] [sway] Fix monitor alignment (for real this time) --- dot_config/sway/config | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/dot_config/sway/config b/dot_config/sway/config index 26667e1..bc717dc 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -16,8 +16,8 @@ set $term foot # Note: it's recommended that you pass the final command to sway set $menu "my-rofi" set $display_laptop eDP-1 -set $display_aoc "AOC U27G3X ZXKQ4HA006099" -set $display_tuxedo "China Star Optoelectronics Technology Co., Ltd MNE007ZA3-2 Unknown" +set $display_aoc_right "AOC U27G3X ZXKQ4HA006099" +set $display_aoc_left "AOC U27G3X 2PNQ9HA001170" set $display_dell "Dell Inc. DELL U2415 7MT018BM1PGU" set $display_lg "LG Electronics 34UM95 0x01010101" set $display_coworking "Dell Inc. DELL U2713H C6F0K34O095L" @@ -49,8 +49,8 @@ exec_always { ### Output configuration output * bg ~/Pictures/Wallpapers/spring-mountains-colourful.jpg fill -output $display_aoc mode 3840x2160@120Hz pos 1200 600 scale 1.5 -output $display_tuxedo scale 1.5 +output $display_aoc_right mode 3840x2160@120Hz pos 1460 600 scale 1.5 +output $display_aoc_left mode 3840x2160@60Hz transform 270 pos 0 0 scale 1.5 output $display_lg mode 3440x1440@49.987Hz pos 1200 600 output $display_dell mode 1920x1200@59.950Hz transform 90 pos 0 0 output $display_teleprompter mode 1024x600@60.044Hz pos 2187 0 @@ -89,10 +89,6 @@ input "type:pointer" { } input "type:touchpad" { - natural_scroll enabled -} - -input "2:7:SynPS/2_Synaptics_TouchPad" { tap enabled natural_scroll enabled } @@ -270,11 +266,13 @@ bindsym $mod+Shift+Right move right # # switch to workspace workspace $workspace_name_1 output $display_lg -workspace $workspace_name_2 output $display_aoc +workspace $workspace_name_2 output $display_aoc_right workspace $workspace_name_2 output $display_lg -workspace $workspace_name_2 output $display_aoc +workspace $workspace_name_2 output $display_aoc_right workspace $workspace_name_3 output $display_dell +workspace $workspace_name_3 output $display_aoc_left workspace $workspace_name_4 output $display_dell +workspace $workspace_name_4 output $display_aoc_left bindsym $mod+1 workspace $workspace_name_1 bindsym $mod+2 workspace $workspace_name_2 bindsym $mod+3 workspace $workspace_name_3 @@ -532,7 +530,7 @@ bar { strip_workspace_numbers yes output $display_laptop output $display_lg - output $display_aoc + output $display_aoc_right output $display_coworking colors { background $base00 @@ -557,6 +555,7 @@ bar { status_edge_padding 8 strip_workspace_numbers yes output $display_dell + output $display_aoc_left tray_output none colors { background $base00