feat(hyprland): add ultrawide-only dock profile

This commit is contained in:
2026-04-20 13:05:20 -07:00
parent 499c7a1c34
commit 7f1f34732a

View File

@@ -36,6 +36,7 @@ let
settings = [
{
# USB-C connector names can move between DP-* ports across docks/reboots.
# Match the ultrawide by make/model and allow the serial field to vary.
profile.name = "ultrawide-usbc-desk";
profile.outputs = [
{
@@ -46,7 +47,7 @@ let
scale = 1.0;
}
{
criteria = "Microstep MPG341CX OLED Unknown";
criteria = "Microstep MPG341CX OLED *";
status = "enable";
mode = "3440x1440@240Hz";
position = "2560,0";
@@ -54,6 +55,20 @@ let
}
];
}
{
# When the laptop panel is unavailable (e.g. lid-closed docked use),
# still drive the ultrawide at its full refresh rate.
profile.name = "ultrawide-only";
profile.outputs = [
{
criteria = "Microstep MPG341CX OLED *";
status = "enable";
mode = "3440x1440@240Hz";
position = "0,0";
scale = 1.0;
}
];
}
];
};