hyprland: Refer to monitor by desc, not port

This commit is contained in:
2024-08-25 18:02:14 +02:00
parent 1d01dacdfd
commit 2458565137

View File

@ -192,14 +192,14 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
monitor =, preferred, auto, auto
{% if hostname == "sputnik" %}
monitor=DP-2,3440x1440@144.00000,auto,auto
monitor = desc:Microstep MSI MAG342CQR DB6H262101804, 3440x1440@144.00000, auto, auto
{% end %}
{% if hostname == "buran" %}
monitor=eDP-1,preferred,3072x380,1.8
monitor=eDP-2,preferred,3072x380,1.8
monitor=DP-2,3840x1600@59.99400,0x0,1.25
monitor = eDP-1, preferred, 3072x380, 1.8
monitor = eDP-2, preferred, 3072x380, 1.8
monitor = DP-2, 3840x1600@59.99400, 0x0, 1.25
# transform list
# normal (no transforms) -> 0
# 90 degrees -> 1