sway: use monitor names instead of output identifiers

This commit is contained in:
Johannes Loher 2021-03-20 23:39:55 +01:00
parent 5a53f87c33
commit 5d78ab4745
3 changed files with 11 additions and 10 deletions

View file

@ -1,23 +1,23 @@
set $primary_monitor_scale 1
set $primary_monitor_identifier DP-6
set $primary_monitor_resolution 1920x1200
set $primary_monitor_identifier eDP-1
set $primary_monitor_resolution 3840x2400
set $primary_monitor_scale 2
set $primary_monitor_background $HOME/.local/share/backgrounds/mountain.jpg
set $secondary_monitor_identifier eDP-1
set $secondary_monitor_resolution 3840x2400
set $secondary_monitor_scale 2
set $secondary_monitor_identifier 'Eizo Nanao Corporation EV2455 0x0000FB06'
set $secondary_monitor_resolution 1920x1200
set $secondary_monitor_scale 1
set $secondary_monitor_x_offset 1920
set $secondary_monitor_y_offset 0
set $secondary_monitor_background $HOME/.local/share/backgrounds/mountain.jpg
set $tertiary_monitor_identifier DP-6
set $tertiary_monitor_identifier 'Dell Inc. DELL U2719D 843HV13'
set $tertiary_monitor_resolution 2560x1440
set $tertiary_monitor_scale 1
set $tertiary_monitor_x_offset 3840
set $tertiary_monitor_y_offset -800
set $tertiary_monitor_background $HOME/.local/share/backgrounds/mountain_vertical.jpg
set $internal_monitor_identifier eDP-1
set $internal_monitor_identifier eDP-1
set $audio_out alsa_output.pci-0000_00_1f.3.analog-stereo
set $audio_in alsa_input.pci-0000_00_1f.3.analog-stereo

View file

@ -3,14 +3,14 @@ set $primary_monitor_resolution 1920x1080
set $primary_monitor_scale 1
set $primary_monitor_background $HOME/.local/share/backgrounds/mountain.jpg
set $secondary_monitor_identifier DP-3
set $secondary_monitor_identifier 'Eizo Nanao Corporation EV2455 0x0000FB06'
set $secondary_monitor_resolution 1920x1200
set $secondary_monitor_scale 1
set $secondary_monitor_x_offset 1920
set $secondary_monitor_y_offset 0
set $secondary_monitor_background $HOME/.local/share/backgrounds/mountain.jpg
set $tertiary_monitor_identifier DP-6
set $tertiary_monitor_identifier 'Dell Inc. DELL U2719D 843HV13'
set $tertiary_monitor_resolution 2560x1440
set $tertiary_monitor_scale 1
set $tertiary_monitor_x_offset 3840

View file

@ -7,3 +7,4 @@ export SDL_VIDEODRIVER=wayland
export _JAVA_AWT_WM_NONREPARENTING=1
export NO_AT_BRIDGE=1
export MOZ_DBUS_REMOTE=1
export WLR_DRM_NO_MODIFIERS=1