1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-13 17:22:08 -04:00

displays: add full screen only for hyprland and convert vrr to dropdown

fixes #1649
fixes #1548
This commit is contained in:
bbedward
2026-02-11 09:31:35 -05:00
parent 535d0bb0f0
commit 5839a5de30
4 changed files with 115 additions and 17 deletions

View File

@@ -98,8 +98,10 @@ Singleton {
if (transform !== 0)
monitorLine += ", transform, " + transform;
if (output.vrr_supported)
monitorLine += ", vrr, " + (output.vrr_enabled ? "1" : "0");
if (output.vrr_supported) {
const vrrMode = outputSettings.vrrFullscreenOnly ? 2 : (output.vrr_enabled ? 1 : 0);
monitorLine += ", vrr, " + vrrMode;
}
if (output.mirror && output.mirror.length > 0)
monitorLine += ", mirror, " + output.mirror;