commit 84d746859c44562396066018f8a787512e968e26 Author: Dawson Matthews Date: Tue Dec 2 09:21:02 2025 -0700 initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..fc5a09a --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# What is KDE Display Profiles? +A simple tool that can save and load display profiles using kscreen-doctor to save your displays resolution, refresh rate, +positional layout, scaling, rotation, enabled state and cloning state + diff --git a/apply.sh b/apply.sh new file mode 100755 index 0000000..b794645 --- /dev/null +++ b/apply.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Make sure a config file was provided +if [ $# -lt 1 ]; then + echo "Usage: $0 " + exit +fi + +# Attempt to parse the config file +INPUT_FILE=$1 +echo "Parsing config info from $INPUT_FILE..." + +TEST=$(jq '.outputs[]' $INPUT_FILE) + +echo $TEST[0] \ No newline at end of file diff --git a/load-display-profile.sh b/load-display-profile.sh new file mode 100755 index 0000000..5f8ecce --- /dev/null +++ b/load-display-profile.sh @@ -0,0 +1,97 @@ +#!/usr/bin/env bash + +set -e + +# Make sure a config file was provided +if [ $# -lt 1 ]; then + echo "Usage: $0 " + exit +fi + +PROFILE=$1 + +if [[ ! -f "$PROFILE" ]]; then + echo "Profile file not found: $PROFILE" >&2 + exit 1 +fi + +if ! command -v jq &>/dev/null; then + echo "jq not installed!" >&2 + exit 1 +fi + +if ! command -v kscreen-doctor &>/dev/null; then + echo "kscreen-doctor not found!" >&2 + exit 1 +fi + + +####################### +# Parse JSON + restore +####################### + +# Extract outputs list +outputs=$(jq -c '.outputs[]' "$PROFILE") + +# 1. Restore enabled/disabled + basic properties +while IFS= read -r out; do + id=$(echo "$out" | jq -r '.id') + enabled=$(echo "$out" | jq -r '.enabled') + posx=$(echo "$out" | jq -r '.pos.x') + posy=$(echo "$out" | jq -r '.pos.y') + rotation=$(echo "$out" | jq -r '.rotation') + scale=$(echo "$out" | jq -r '.scale') + mode=$(echo "$out" | jq -r '.currentModeId') + priority=$(echo "$out" | jq -r '.priority') + + # Enable/disable + if [[ "$enabled" == "true" ]]; then + kscreen-doctor "output.$id.enable" + else + kscreen-doctor "output.$id.disable" + continue + fi + + # Mode (Resolution + refresh) + kscreen-doctor "output.$id.mode.$mode" + + # Position + kscreen-doctor "output.$id.position.$posx,$posy" + + # Scale + kscreen-doctor "output.$id.scale.$scale" + + # Rotation (map from JSON names to kscreen-doctor options) + case "$rotation" in + "1") kscreen-doctor "output.$id.rotation.normal" ;; + "2") kscreen-doctor "output.$id.rotation.left" ;; + "4") kscreen-doctor "output.$id.rotation.inverted" ;; + "8") kscreen-doctor "output.$id.rotation.right" ;; + esac + + # Primary / Not Primary + echo $priority + if [ $priority -eq 1 ]; then + kscreen-doctor "output.$id.primary" + fi + + +done <<< "$outputs" + + +######################### +# 2. Restore clone groups +######################### + +clone_groups=$(jq -c '.clones[]?' "$PROFILE") + +while IFS= read -r clone; do + primary=$(echo "$clone" | jq -r '.[0]') + others=$(echo "$clone" | jq -r '.[]' | tail -n +2) + + for o in $others; do + kscreen-doctor "output.$o.clone.$primary" + done +done <<< "$clone_groups" + +echo "Display configuration restored." \ No newline at end of file diff --git a/load-display-profile2.sh b/load-display-profile2.sh new file mode 100755 index 0000000..7ec3718 --- /dev/null +++ b/load-display-profile2.sh @@ -0,0 +1,108 @@ +#!/usr/bin/env bash + +set -e + +# Make sure a config file was provided +if [ $# -lt 1 ]; then + echo "Usage: $0 " + exit +fi + +PROFILE=$1 + +if [[ ! -f "$PROFILE" ]]; then + echo "Profile file not found: $PROFILE" >&2 + exit 1 +fi + +if ! command -v jq &>/dev/null; then + echo "jq not installed!" >&2 + exit 1 +fi + +if ! command -v kscreen-doctor &>/dev/null; then + echo "kscreen-doctor not found!" >&2 + exit 1 +fi + + +####################### +# Parse JSON + ordering +####################### + +# Extract output entries based on positions +origin_out=$(jq -c '.outputs[] | select(.pos.x == 0 and .pos.y == 0 and .enabled == true)' "$PROFILE") +non_origin_outs=$(jq -c '.outputs[] | select(.pos.x != 0 or .pos.y != 0 or .enable == false)' "$PROFILE") + +####################### +# Function: Apply output +####################### +apply_output() { + local out="$1" + + id=$(echo "$out" | jq -r '.id') + posx=$(echo "$out" | jq -r '.pos.x') + posy=$(echo "$out" | jq -r '.pos.y') + rotation=$(echo "$out" | jq -r '.rotation') + scale=$(echo "$out" | jq -r '.scale') + mode=$(echo "$out" | jq -r '.currentModeId') + priority=$(echo "$out" | jq -r '.priority') + enabled=$(echo "$out" | jq -r '.enabled') + + # Enable/disable + if [[ "$enabled" == "true" ]]; then + kscreen-doctor "output.$id.enable" + else + kscreen-doctor "output.$id.disable" + return + fi + + # Mode + kscreen-doctor "output.$id.mode.$mode" + + # Position + kscreen-doctor "output.$id.position.$posx,$posy" + + # Scale + kscreen-doctor "output.$id.scale.$scale" + + # Rotation + case "$rotation" in + "1") kscreen-doctor "output.$id.rotation.normal" ;; + "2") kscreen-doctor "output.$id.rotation.left" ;; + "4") kscreen-doctor "output.$id.rotation.inverted" ;; + "8") kscreen-doctor "output.$id.rotation.right" ;; + esac + + # Primary + if [ "$priority" -eq 1 ]; then + kscreen-doctor "output.$id.primary" + fi +} + +if [[ -n "$origin_out" ]]; then + apply_output "$origin_out" +fi + +while IFS= read -r out; do + apply_output "$out" +done <<< "$non_origin_outs" + + + +######################### +# 3. Restore clone groups +######################### + +clone_groups=$(jq -c '.clones[]?' "$PROFILE") + +while IFS= read -r clone; do + primary=$(echo "$clone" | jq -r '.[0]') + others=$(echo "$clone" | jq -r '.[]' | tail -n +2) + + for o in $others; do + kscreen-doctor "output.$o.clone.$primary" + done +done <<< "$clone_groups" + +echo "Display configuration restored." diff --git a/profiles/desktop-only.json b/profiles/desktop-only.json new file mode 100644 index 0000000..d4f3e91 --- /dev/null +++ b/profiles/desktop-only.json @@ -0,0 +1,1297 @@ +{ + "features": 255, + "outputs": [ + { + "brightness": 0.75, + "clones": [ + ], + "connected": true, + "currentModeId": "1", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 1, + "maxBpc": 0, + "modes": [ + { + "id": "1", + "name": "2560x1440@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "10", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "11", + "name": "1600x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "12", + "name": "1680x1050@60", + "refreshRate": 59.95399856567383, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "13", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "14", + "name": "1280x1024@75", + "refreshRate": 75.0250015258789, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "15", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "16", + "name": "1440x900@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "17", + "name": "1280x800@60", + "refreshRate": 59.810001373291016, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "18", + "name": "1152x864@60", + "refreshRate": 59.97200012207031, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "19", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "2", + "name": "2560x1440@120", + "refreshRate": 119.99800109863281, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "20", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "21", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "22", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "23", + "name": "1024x768@75", + "refreshRate": 75.02899932861328, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "24", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "25", + "name": "800x600@75", + "refreshRate": 75, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "26", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "27", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "28", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "29", + "name": "640x480@75", + "refreshRate": 75, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "3", + "name": "2560x1440@100", + "refreshRate": 99.94599914550781, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "30", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "31", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "32", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "33", + "name": "1600x1200@60", + "refreshRate": 59.86899948120117, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "34", + "name": "1280x1024@144", + "refreshRate": 143.79299926757812, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "35", + "name": "1024x768@144", + "refreshRate": 143.656005859375, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "36", + "name": "1920x1200@60", + "refreshRate": 59.8849983215332, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "37", + "name": "1280x800@144", + "refreshRate": 143.67300415039062, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "38", + "name": "1920x1080@144", + "refreshRate": 143.802001953125, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "39", + "name": "1600x900@144", + "refreshRate": 143.80999755859375, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "4", + "name": "2560x1440@60", + "refreshRate": 59.95100021362305, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "40", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "41", + "name": "1368x768@144", + "refreshRate": 143.7689971923828, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "42", + "name": "1280x720@144", + "refreshRate": 143.6719970703125, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "5", + "name": "1920x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "6", + "name": "1920x1080@75", + "refreshRate": 74.97699737548828, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "7", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "8", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "9", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + } + ], + "name": "DP-2", + "overscan": 0, + "pos": { + "x": 0, + "y": 300 + }, + "preferredModes": [ + "1" + ], + "priority": 1, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 320, + "size": { + "height": 1440, + "width": 2560 + }, + "sizeMM": { + "height": 336, + "width": 597 + }, + "type": 14, + "vrrPolicy": 2, + "wcg": true + }, + { + "brightness": 1, + "clones": [ + ], + "connected": true, + "currentModeId": "49", + "enabled": false, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 2, + "maxBpc": 0, + "modes": [ + { + "id": "100", + "name": "2560x1440@60", + "refreshRate": 59.96099853515625, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "101", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "43", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "44", + "name": "4096x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "45", + "name": "4096x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "46", + "name": "4096x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "47", + "name": "4096x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "48", + "name": "4096x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "49", + "name": "3840x2160@120", + "refreshRate": 120, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "50", + "name": "3840x2160@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "51", + "name": "3840x2160@100", + "refreshRate": 100, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "52", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "53", + "name": "3840x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "54", + "name": "3840x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "55", + "name": "3840x2160@30", + "refreshRate": 30, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "56", + "name": "3840x2160@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "57", + "name": "3840x2160@25", + "refreshRate": 25, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "58", + "name": "3840x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "59", + "name": "3840x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "60", + "name": "1920x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "61", + "name": "1920x1080@120", + "refreshRate": 120, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "62", + "name": "1920x1080@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "63", + "name": "1920x1080@100", + "refreshRate": 100, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "64", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "65", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "66", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "67", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "68", + "name": "1920x1080@30", + "refreshRate": 30, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "69", + "name": "1920x1080@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "70", + "name": "1920x1080@24", + "refreshRate": 24, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "71", + "name": "1920x1080@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "72", + "name": "1600x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "73", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "74", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "75", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "76", + "name": "1440x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "77", + "name": "1280x800@60", + "refreshRate": 60, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "78", + "name": "1152x864@75", + "refreshRate": 75, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "79", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "80", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "81", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "82", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "83", + "name": "1280x720@30", + "refreshRate": 30, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "84", + "name": "1280x720@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "85", + "name": "1280x720@24", + "refreshRate": 24, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "86", + "name": "1280x720@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "87", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "88", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "89", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "90", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "91", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "92", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "93", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "94", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "95", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "96", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "97", + "name": "2560x1600@60", + "refreshRate": 59.98699951171875, + "size": { + "height": 1600, + "width": 2560 + } + }, + { + "id": "98", + "name": "3200x1800@60", + "refreshRate": 59.95600128173828, + "size": { + "height": 1800, + "width": 3200 + } + }, + { + "id": "99", + "name": "2880x1620@60", + "refreshRate": 59.959999084472656, + "size": { + "height": 1620, + "width": 2880 + } + } + ], + "name": "HDMI-A-2", + "overscan": 0, + "pos": { + "x": 2560, + "y": 0 + }, + "preferredModes": [ + "43" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 420, + "size": { + "height": 2160, + "width": 3840 + }, + "sizeMM": { + "height": 809, + "width": 1439 + }, + "type": 6, + "wcg": true + }, + { + "clones": [ + ], + "connected": true, + "currentModeId": "102", + "ddcCiAllowed": true, + "enabled": false, + "followPreferredMode": false, + "iccProfilePath": "", + "icon": "", + "id": 3, + "maxBpc": 0, + "modes": [ + { + "id": "102", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "103", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "104", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "105", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "106", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "107", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "108", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "109", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "110", + "name": "1440x900@60", + "refreshRate": 59.9010009765625, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "111", + "name": "1280x800@60", + "refreshRate": 59.90999984741211, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "112", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "113", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "114", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "115", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "116", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "117", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "118", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "119", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "120", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "121", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "122", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "123", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "124", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "125", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "126", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "127", + "name": "720x400@70", + "refreshRate": 70.08200073242188, + "size": { + "height": 400, + "width": 720 + } + }, + { + "id": "128", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + } + ], + "name": "HDMI-A-1", + "overscan": 0, + "pos": { + "x": 3304, + "y": 0 + }, + "preferredModes": [ + "102" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "size": { + "height": 1920, + "width": 1080 + }, + "sizeMM": { + "height": 268, + "width": 476 + }, + "type": 6 + } + ], + "screen": { + "currentSize": { + "height": 1440, + "width": 2560 + }, + "id": 0, + "maxActiveOutputsCount": 3, + "maxSize": { + "height": 64000, + "width": 64000 + }, + "minSize": { + "height": 0, + "width": 0 + } + }, + "tabletModeAvailable": false, + "tabletModeEngaged": false +} diff --git a/profiles/desktop-tv.json b/profiles/desktop-tv.json new file mode 100644 index 0000000..a0fd1ec --- /dev/null +++ b/profiles/desktop-tv.json @@ -0,0 +1,1297 @@ +{ + "features": 255, + "outputs": [ + { + "brightness": 0.75, + "clones": [ + ], + "connected": true, + "currentModeId": "1", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 1, + "maxBpc": 0, + "modes": [ + { + "id": "1", + "name": "2560x1440@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "10", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "11", + "name": "1600x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "12", + "name": "1680x1050@60", + "refreshRate": 59.95399856567383, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "13", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "14", + "name": "1280x1024@75", + "refreshRate": 75.0250015258789, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "15", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "16", + "name": "1440x900@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "17", + "name": "1280x800@60", + "refreshRate": 59.810001373291016, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "18", + "name": "1152x864@60", + "refreshRate": 59.97200012207031, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "19", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "2", + "name": "2560x1440@120", + "refreshRate": 119.99800109863281, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "20", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "21", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "22", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "23", + "name": "1024x768@75", + "refreshRate": 75.02899932861328, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "24", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "25", + "name": "800x600@75", + "refreshRate": 75, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "26", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "27", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "28", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "29", + "name": "640x480@75", + "refreshRate": 75, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "3", + "name": "2560x1440@100", + "refreshRate": 99.94599914550781, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "30", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "31", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "32", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "33", + "name": "1600x1200@60", + "refreshRate": 59.86899948120117, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "34", + "name": "1280x1024@144", + "refreshRate": 143.79299926757812, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "35", + "name": "1024x768@144", + "refreshRate": 143.656005859375, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "36", + "name": "1920x1200@60", + "refreshRate": 59.8849983215332, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "37", + "name": "1280x800@144", + "refreshRate": 143.67300415039062, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "38", + "name": "1920x1080@144", + "refreshRate": 143.802001953125, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "39", + "name": "1600x900@144", + "refreshRate": 143.80999755859375, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "4", + "name": "2560x1440@60", + "refreshRate": 59.95100021362305, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "40", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "41", + "name": "1368x768@144", + "refreshRate": 143.7689971923828, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "42", + "name": "1280x720@144", + "refreshRate": 143.6719970703125, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "5", + "name": "1920x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "6", + "name": "1920x1080@75", + "refreshRate": 74.97699737548828, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "7", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "8", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "9", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + } + ], + "name": "DP-2", + "overscan": 0, + "pos": { + "x": 1080, + "y": 186 + }, + "preferredModes": [ + "1" + ], + "priority": 1, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 320, + "size": { + "height": 1440, + "width": 2560 + }, + "sizeMM": { + "height": 336, + "width": 597 + }, + "type": 14, + "vrrPolicy": 2, + "wcg": true + }, + { + "brightness": 1, + "clones": [ + ], + "connected": true, + "currentModeId": "49", + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 2, + "maxBpc": 0, + "modes": [ + { + "id": "100", + "name": "2560x1440@60", + "refreshRate": 59.96099853515625, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "101", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "43", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "44", + "name": "4096x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "45", + "name": "4096x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "46", + "name": "4096x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "47", + "name": "4096x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "48", + "name": "4096x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "49", + "name": "3840x2160@120", + "refreshRate": 120, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "50", + "name": "3840x2160@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "51", + "name": "3840x2160@100", + "refreshRate": 100, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "52", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "53", + "name": "3840x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "54", + "name": "3840x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "55", + "name": "3840x2160@30", + "refreshRate": 30, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "56", + "name": "3840x2160@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "57", + "name": "3840x2160@25", + "refreshRate": 25, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "58", + "name": "3840x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "59", + "name": "3840x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "60", + "name": "1920x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "61", + "name": "1920x1080@120", + "refreshRate": 120, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "62", + "name": "1920x1080@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "63", + "name": "1920x1080@100", + "refreshRate": 100, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "64", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "65", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "66", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "67", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "68", + "name": "1920x1080@30", + "refreshRate": 30, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "69", + "name": "1920x1080@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "70", + "name": "1920x1080@24", + "refreshRate": 24, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "71", + "name": "1920x1080@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "72", + "name": "1600x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "73", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "74", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "75", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "76", + "name": "1440x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "77", + "name": "1280x800@60", + "refreshRate": 60, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "78", + "name": "1152x864@75", + "refreshRate": 75, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "79", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "80", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "81", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "82", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "83", + "name": "1280x720@30", + "refreshRate": 30, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "84", + "name": "1280x720@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "85", + "name": "1280x720@24", + "refreshRate": 24, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "86", + "name": "1280x720@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "87", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "88", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "89", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "90", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "91", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "92", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "93", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "94", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "95", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "96", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "97", + "name": "2560x1600@60", + "refreshRate": 59.98699951171875, + "size": { + "height": 1600, + "width": 2560 + } + }, + { + "id": "98", + "name": "3200x1800@60", + "refreshRate": 59.95600128173828, + "size": { + "height": 1800, + "width": 3200 + } + }, + { + "id": "99", + "name": "2880x1620@60", + "refreshRate": 59.959999084472656, + "size": { + "height": 1620, + "width": 2880 + } + } + ], + "name": "HDMI-A-2", + "overscan": 0, + "pos": { + "x": 3640, + "y": 339 + }, + "preferredModes": [ + "43" + ], + "priority": 3, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 2, + "sdr-brightness": 420, + "size": { + "height": 2160, + "width": 3840 + }, + "sizeMM": { + "height": 809, + "width": 1439 + }, + "type": 6, + "wcg": true + }, + { + "clones": [ + ], + "connected": true, + "currentModeId": "102", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "iccProfilePath": "", + "icon": "", + "id": 3, + "maxBpc": 0, + "modes": [ + { + "id": "102", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "103", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "104", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "105", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "106", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "107", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "108", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "109", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "110", + "name": "1440x900@60", + "refreshRate": 59.9010009765625, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "111", + "name": "1280x800@60", + "refreshRate": 59.90999984741211, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "112", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "113", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "114", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "115", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "116", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "117", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "118", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "119", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "120", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "121", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "122", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "123", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "124", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "125", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "126", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "127", + "name": "720x400@70", + "refreshRate": 70.08200073242188, + "size": { + "height": 400, + "width": 720 + } + }, + { + "id": "128", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + } + ], + "name": "HDMI-A-1", + "overscan": 0, + "pos": { + "x": 0, + "y": 0 + }, + "preferredModes": [ + "102" + ], + "priority": 2, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "size": { + "height": 1920, + "width": 1080 + }, + "sizeMM": { + "height": 268, + "width": 476 + }, + "type": 6 + } + ], + "screen": { + "currentSize": { + "height": 1626, + "width": 5560 + }, + "id": 0, + "maxActiveOutputsCount": 3, + "maxSize": { + "height": 64000, + "width": 64000 + }, + "minSize": { + "height": 0, + "width": 0 + } + }, + "tabletModeAvailable": false, + "tabletModeEngaged": false +} diff --git a/profiles/desktop.json b/profiles/desktop.json new file mode 100644 index 0000000..d07d65e --- /dev/null +++ b/profiles/desktop.json @@ -0,0 +1,1297 @@ +{ + "features": 255, + "outputs": [ + { + "brightness": 0.75, + "clones": [ + ], + "connected": true, + "currentModeId": "1", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 1, + "maxBpc": 0, + "modes": [ + { + "id": "1", + "name": "2560x1440@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "10", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "11", + "name": "1600x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "12", + "name": "1680x1050@60", + "refreshRate": 59.95399856567383, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "13", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "14", + "name": "1280x1024@75", + "refreshRate": 75.0250015258789, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "15", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "16", + "name": "1440x900@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "17", + "name": "1280x800@60", + "refreshRate": 59.810001373291016, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "18", + "name": "1152x864@60", + "refreshRate": 59.97200012207031, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "19", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "2", + "name": "2560x1440@120", + "refreshRate": 119.99800109863281, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "20", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "21", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "22", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "23", + "name": "1024x768@75", + "refreshRate": 75.02899932861328, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "24", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "25", + "name": "800x600@75", + "refreshRate": 75, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "26", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "27", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "28", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "29", + "name": "640x480@75", + "refreshRate": 75, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "3", + "name": "2560x1440@100", + "refreshRate": 99.94599914550781, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "30", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "31", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "32", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "33", + "name": "1600x1200@60", + "refreshRate": 59.86899948120117, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "34", + "name": "1280x1024@144", + "refreshRate": 143.79299926757812, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "35", + "name": "1024x768@144", + "refreshRate": 143.656005859375, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "36", + "name": "1920x1200@60", + "refreshRate": 59.8849983215332, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "37", + "name": "1280x800@144", + "refreshRate": 143.67300415039062, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "38", + "name": "1920x1080@144", + "refreshRate": 143.802001953125, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "39", + "name": "1600x900@144", + "refreshRate": 143.80999755859375, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "4", + "name": "2560x1440@60", + "refreshRate": 59.95100021362305, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "40", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "41", + "name": "1368x768@144", + "refreshRate": 143.7689971923828, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "42", + "name": "1280x720@144", + "refreshRate": 143.6719970703125, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "5", + "name": "1920x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "6", + "name": "1920x1080@75", + "refreshRate": 74.97699737548828, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "7", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "8", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "9", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + } + ], + "name": "DP-2", + "overscan": 0, + "pos": { + "x": 1080, + "y": 186 + }, + "preferredModes": [ + "1" + ], + "priority": 1, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 320, + "size": { + "height": 1440, + "width": 2560 + }, + "sizeMM": { + "height": 336, + "width": 597 + }, + "type": 14, + "vrrPolicy": 2, + "wcg": true + }, + { + "brightness": 1, + "clones": [ + ], + "connected": true, + "currentModeId": "49", + "enabled": false, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 2, + "maxBpc": 0, + "modes": [ + { + "id": "100", + "name": "2560x1440@60", + "refreshRate": 59.96099853515625, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "101", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "43", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "44", + "name": "4096x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "45", + "name": "4096x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "46", + "name": "4096x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "47", + "name": "4096x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "48", + "name": "4096x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "49", + "name": "3840x2160@120", + "refreshRate": 120, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "50", + "name": "3840x2160@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "51", + "name": "3840x2160@100", + "refreshRate": 100, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "52", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "53", + "name": "3840x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "54", + "name": "3840x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "55", + "name": "3840x2160@30", + "refreshRate": 30, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "56", + "name": "3840x2160@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "57", + "name": "3840x2160@25", + "refreshRate": 25, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "58", + "name": "3840x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "59", + "name": "3840x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "60", + "name": "1920x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "61", + "name": "1920x1080@120", + "refreshRate": 120, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "62", + "name": "1920x1080@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "63", + "name": "1920x1080@100", + "refreshRate": 100, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "64", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "65", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "66", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "67", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "68", + "name": "1920x1080@30", + "refreshRate": 30, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "69", + "name": "1920x1080@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "70", + "name": "1920x1080@24", + "refreshRate": 24, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "71", + "name": "1920x1080@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "72", + "name": "1600x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "73", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "74", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "75", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "76", + "name": "1440x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "77", + "name": "1280x800@60", + "refreshRate": 60, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "78", + "name": "1152x864@75", + "refreshRate": 75, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "79", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "80", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "81", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "82", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "83", + "name": "1280x720@30", + "refreshRate": 30, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "84", + "name": "1280x720@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "85", + "name": "1280x720@24", + "refreshRate": 24, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "86", + "name": "1280x720@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "87", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "88", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "89", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "90", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "91", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "92", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "93", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "94", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "95", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "96", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "97", + "name": "2560x1600@60", + "refreshRate": 59.98699951171875, + "size": { + "height": 1600, + "width": 2560 + } + }, + { + "id": "98", + "name": "3200x1800@60", + "refreshRate": 59.95600128173828, + "size": { + "height": 1800, + "width": 3200 + } + }, + { + "id": "99", + "name": "2880x1620@60", + "refreshRate": 59.959999084472656, + "size": { + "height": 1620, + "width": 2880 + } + } + ], + "name": "HDMI-A-2", + "overscan": 0, + "pos": { + "x": 2560, + "y": 0 + }, + "preferredModes": [ + "43" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 420, + "size": { + "height": 2160, + "width": 3840 + }, + "sizeMM": { + "height": 809, + "width": 1439 + }, + "type": 6, + "wcg": true + }, + { + "clones": [ + ], + "connected": true, + "currentModeId": "102", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "iccProfilePath": "", + "icon": "", + "id": 3, + "maxBpc": 0, + "modes": [ + { + "id": "102", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "103", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "104", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "105", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "106", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "107", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "108", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "109", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "110", + "name": "1440x900@60", + "refreshRate": 59.9010009765625, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "111", + "name": "1280x800@60", + "refreshRate": 59.90999984741211, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "112", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "113", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "114", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "115", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "116", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "117", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "118", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "119", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "120", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "121", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "122", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "123", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "124", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "125", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "126", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "127", + "name": "720x400@70", + "refreshRate": 70.08200073242188, + "size": { + "height": 400, + "width": 720 + } + }, + { + "id": "128", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + } + ], + "name": "HDMI-A-1", + "overscan": 0, + "pos": { + "x": 0, + "y": 0 + }, + "preferredModes": [ + "102" + ], + "priority": 2, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "size": { + "height": 1920, + "width": 1080 + }, + "sizeMM": { + "height": 268, + "width": 476 + }, + "type": 6 + } + ], + "screen": { + "currentSize": { + "height": 1626, + "width": 3640 + }, + "id": 0, + "maxActiveOutputsCount": 3, + "maxSize": { + "height": 64000, + "width": 64000 + }, + "minSize": { + "height": 0, + "width": 0 + } + }, + "tabletModeAvailable": false, + "tabletModeEngaged": false +} diff --git a/profiles/desktop2.json b/profiles/desktop2.json new file mode 100644 index 0000000..d0c009f --- /dev/null +++ b/profiles/desktop2.json @@ -0,0 +1,1297 @@ +{ + "features": 255, + "outputs": [ + { + "brightness": 0.75, + "clones": [ + ], + "connected": true, + "currentModeId": "1", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 1, + "maxBpc": 0, + "modes": [ + { + "id": "1", + "name": "2560x1440@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "10", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "11", + "name": "1600x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "12", + "name": "1680x1050@60", + "refreshRate": 59.95399856567383, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "13", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "14", + "name": "1280x1024@75", + "refreshRate": 75.0250015258789, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "15", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "16", + "name": "1440x900@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "17", + "name": "1280x800@60", + "refreshRate": 59.810001373291016, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "18", + "name": "1152x864@60", + "refreshRate": 59.97200012207031, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "19", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "2", + "name": "2560x1440@120", + "refreshRate": 119.99800109863281, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "20", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "21", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "22", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "23", + "name": "1024x768@75", + "refreshRate": 75.02899932861328, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "24", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "25", + "name": "800x600@75", + "refreshRate": 75, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "26", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "27", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "28", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "29", + "name": "640x480@75", + "refreshRate": 75, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "3", + "name": "2560x1440@100", + "refreshRate": 99.94599914550781, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "30", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "31", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "32", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "33", + "name": "1600x1200@60", + "refreshRate": 59.86899948120117, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "34", + "name": "1280x1024@144", + "refreshRate": 143.79299926757812, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "35", + "name": "1024x768@144", + "refreshRate": 143.656005859375, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "36", + "name": "1920x1200@60", + "refreshRate": 59.8849983215332, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "37", + "name": "1280x800@144", + "refreshRate": 143.67300415039062, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "38", + "name": "1920x1080@144", + "refreshRate": 143.802001953125, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "39", + "name": "1600x900@144", + "refreshRate": 143.80999755859375, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "4", + "name": "2560x1440@60", + "refreshRate": 59.95100021362305, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "40", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "41", + "name": "1368x768@144", + "refreshRate": 143.7689971923828, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "42", + "name": "1280x720@144", + "refreshRate": 143.6719970703125, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "5", + "name": "1920x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "6", + "name": "1920x1080@75", + "refreshRate": 74.97699737548828, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "7", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "8", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "9", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + } + ], + "name": "DP-2", + "overscan": 0, + "pos": { + "x": 1080, + "y": 186 + }, + "preferredModes": [ + "1" + ], + "priority": 1, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 320, + "size": { + "height": 1440, + "width": 2560 + }, + "sizeMM": { + "height": 336, + "width": 597 + }, + "type": 14, + "vrrPolicy": 2, + "wcg": true + }, + { + "brightness": 1, + "clones": [ + ], + "connected": true, + "currentModeId": "75", + "enabled": false, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 2, + "maxBpc": 0, + "modes": [ + { + "id": "100", + "name": "2560x1440@60", + "refreshRate": 59.96099853515625, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "101", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "43", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "44", + "name": "4096x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "45", + "name": "4096x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "46", + "name": "4096x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "47", + "name": "4096x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "48", + "name": "4096x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "49", + "name": "3840x2160@120", + "refreshRate": 120, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "50", + "name": "3840x2160@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "51", + "name": "3840x2160@100", + "refreshRate": 100, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "52", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "53", + "name": "3840x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "54", + "name": "3840x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "55", + "name": "3840x2160@30", + "refreshRate": 30, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "56", + "name": "3840x2160@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "57", + "name": "3840x2160@25", + "refreshRate": 25, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "58", + "name": "3840x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "59", + "name": "3840x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "60", + "name": "1920x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "61", + "name": "1920x1080@120", + "refreshRate": 120, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "62", + "name": "1920x1080@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "63", + "name": "1920x1080@100", + "refreshRate": 100, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "64", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "65", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "66", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "67", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "68", + "name": "1920x1080@30", + "refreshRate": 30, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "69", + "name": "1920x1080@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "70", + "name": "1920x1080@24", + "refreshRate": 24, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "71", + "name": "1920x1080@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "72", + "name": "1600x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "73", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "74", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "75", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "76", + "name": "1440x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "77", + "name": "1280x800@60", + "refreshRate": 60, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "78", + "name": "1152x864@75", + "refreshRate": 75, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "79", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "80", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "81", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "82", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "83", + "name": "1280x720@30", + "refreshRate": 30, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "84", + "name": "1280x720@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "85", + "name": "1280x720@24", + "refreshRate": 24, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "86", + "name": "1280x720@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "87", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "88", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "89", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "90", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "91", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "92", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "93", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "94", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "95", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "96", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "97", + "name": "2560x1600@60", + "refreshRate": 59.98699951171875, + "size": { + "height": 1600, + "width": 2560 + } + }, + { + "id": "98", + "name": "3200x1800@60", + "refreshRate": 59.95600128173828, + "size": { + "height": 1800, + "width": 3200 + } + }, + { + "id": "99", + "name": "2880x1620@60", + "refreshRate": 59.959999084472656, + "size": { + "height": 1620, + "width": 2880 + } + } + ], + "name": "HDMI-A-2", + "overscan": 0, + "pos": { + "x": 0, + "y": 0 + }, + "preferredModes": [ + "43" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "sdr-brightness": 420, + "size": { + "height": 1280, + "width": 1024 + }, + "sizeMM": { + "height": 809, + "width": 1439 + }, + "type": 6, + "wcg": true + }, + { + "clones": [ + ], + "connected": true, + "currentModeId": "102", + "ddcCiAllowed": true, + "enabled": true, + "followPreferredMode": false, + "iccProfilePath": "", + "icon": "", + "id": 3, + "maxBpc": 0, + "modes": [ + { + "id": "102", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "103", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "104", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "105", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "106", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "107", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "108", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "109", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "110", + "name": "1440x900@60", + "refreshRate": 59.9010009765625, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "111", + "name": "1280x800@60", + "refreshRate": 59.90999984741211, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "112", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "113", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "114", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "115", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "116", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "117", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "118", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "119", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "120", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "121", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "122", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "123", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "124", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "125", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "126", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "127", + "name": "720x400@70", + "refreshRate": 70.08200073242188, + "size": { + "height": 400, + "width": 720 + } + }, + { + "id": "128", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + } + ], + "name": "HDMI-A-1", + "overscan": 0, + "pos": { + "x": 0, + "y": 0 + }, + "preferredModes": [ + "102" + ], + "priority": 2, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "size": { + "height": 1920, + "width": 1080 + }, + "sizeMM": { + "height": 268, + "width": 476 + }, + "type": 6 + } + ], + "screen": { + "currentSize": { + "height": 1626, + "width": 3640 + }, + "id": 0, + "maxActiveOutputsCount": 3, + "maxSize": { + "height": 64000, + "width": 64000 + }, + "minSize": { + "height": 0, + "width": 0 + } + }, + "tabletModeAvailable": false, + "tabletModeEngaged": false +} diff --git a/profiles/tv.json b/profiles/tv.json new file mode 100644 index 0000000..b1e03ca --- /dev/null +++ b/profiles/tv.json @@ -0,0 +1,1297 @@ +{ + "features": 255, + "outputs": [ + { + "brightness": 0.75, + "clones": [ + ], + "connected": true, + "currentModeId": "1", + "ddcCiAllowed": true, + "enabled": false, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 1, + "maxBpc": 0, + "modes": [ + { + "id": "1", + "name": "2560x1440@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "10", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "11", + "name": "1600x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "12", + "name": "1680x1050@60", + "refreshRate": 59.95399856567383, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "13", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "14", + "name": "1280x1024@75", + "refreshRate": 75.0250015258789, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "15", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "16", + "name": "1440x900@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "17", + "name": "1280x800@60", + "refreshRate": 59.810001373291016, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "18", + "name": "1152x864@60", + "refreshRate": 59.97200012207031, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "19", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "2", + "name": "2560x1440@120", + "refreshRate": 119.99800109863281, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "20", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "21", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "22", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "23", + "name": "1024x768@75", + "refreshRate": 75.02899932861328, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "24", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "25", + "name": "800x600@75", + "refreshRate": 75, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "26", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "27", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "28", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "29", + "name": "640x480@75", + "refreshRate": 75, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "3", + "name": "2560x1440@100", + "refreshRate": 99.94599914550781, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "30", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "31", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "32", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "33", + "name": "1600x1200@60", + "refreshRate": 59.86899948120117, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "34", + "name": "1280x1024@144", + "refreshRate": 143.79299926757812, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "35", + "name": "1024x768@144", + "refreshRate": 143.656005859375, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "36", + "name": "1920x1200@60", + "refreshRate": 59.8849983215332, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "37", + "name": "1280x800@144", + "refreshRate": 143.67300415039062, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "38", + "name": "1920x1080@144", + "refreshRate": 143.802001953125, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "39", + "name": "1600x900@144", + "refreshRate": 143.80999755859375, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "4", + "name": "2560x1440@60", + "refreshRate": 59.95100021362305, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "40", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "41", + "name": "1368x768@144", + "refreshRate": 143.7689971923828, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "42", + "name": "1280x720@144", + "refreshRate": 143.6719970703125, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "5", + "name": "1920x1200@144", + "refreshRate": 143.97300720214844, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "6", + "name": "1920x1080@75", + "refreshRate": 74.97699737548828, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "7", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "8", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "9", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + } + ], + "name": "DP-2", + "overscan": 0, + "pos": { + "x": 1080, + "y": 186 + }, + "preferredModes": [ + "1" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 320, + "size": { + "height": 1440, + "width": 2560 + }, + "sizeMM": { + "height": 336, + "width": 597 + }, + "type": 14, + "vrrPolicy": 2, + "wcg": true + }, + { + "brightness": 1, + "clones": [ + ], + "connected": true, + "currentModeId": "49", + "enabled": true, + "followPreferredMode": false, + "hdr": true, + "iccProfilePath": "", + "icon": "", + "id": 2, + "maxBpc": 0, + "modes": [ + { + "id": "100", + "name": "2560x1440@60", + "refreshRate": 59.96099853515625, + "size": { + "height": 1440, + "width": 2560 + } + }, + { + "id": "101", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + }, + { + "id": "43", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "44", + "name": "4096x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "45", + "name": "4096x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "46", + "name": "4096x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "47", + "name": "4096x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "48", + "name": "4096x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 4096 + } + }, + { + "id": "49", + "name": "3840x2160@120", + "refreshRate": 120, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "50", + "name": "3840x2160@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "51", + "name": "3840x2160@100", + "refreshRate": 100, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "52", + "name": "3840x2160@60", + "refreshRate": 60, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "53", + "name": "3840x2160@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "54", + "name": "3840x2160@50", + "refreshRate": 50, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "55", + "name": "3840x2160@30", + "refreshRate": 30, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "56", + "name": "3840x2160@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "57", + "name": "3840x2160@25", + "refreshRate": 25, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "58", + "name": "3840x2160@24", + "refreshRate": 24, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "59", + "name": "3840x2160@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 2160, + "width": 3840 + } + }, + { + "id": "60", + "name": "1920x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1920 + } + }, + { + "id": "61", + "name": "1920x1080@120", + "refreshRate": 120, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "62", + "name": "1920x1080@120", + "refreshRate": 119.87999725341797, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "63", + "name": "1920x1080@100", + "refreshRate": 100, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "64", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "65", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "66", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "67", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "68", + "name": "1920x1080@30", + "refreshRate": 30, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "69", + "name": "1920x1080@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "70", + "name": "1920x1080@24", + "refreshRate": 24, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "71", + "name": "1920x1080@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "72", + "name": "1600x1200@60", + "refreshRate": 60, + "size": { + "height": 1200, + "width": 1600 + } + }, + { + "id": "73", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "74", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "75", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "76", + "name": "1440x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "77", + "name": "1280x800@60", + "refreshRate": 60, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "78", + "name": "1152x864@75", + "refreshRate": 75, + "size": { + "height": 864, + "width": 1152 + } + }, + { + "id": "79", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "80", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "81", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "82", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "83", + "name": "1280x720@30", + "refreshRate": 30, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "84", + "name": "1280x720@30", + "refreshRate": 29.969999313354492, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "85", + "name": "1280x720@24", + "refreshRate": 24, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "86", + "name": "1280x720@24", + "refreshRate": 23.97599983215332, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "87", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "88", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "89", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "90", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "91", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "92", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "93", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "94", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "95", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "96", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "97", + "name": "2560x1600@60", + "refreshRate": 59.98699951171875, + "size": { + "height": 1600, + "width": 2560 + } + }, + { + "id": "98", + "name": "3200x1800@60", + "refreshRate": 59.95600128173828, + "size": { + "height": 1800, + "width": 3200 + } + }, + { + "id": "99", + "name": "2880x1620@60", + "refreshRate": 59.959999084472656, + "size": { + "height": 1620, + "width": 2880 + } + } + ], + "name": "HDMI-A-2", + "overscan": 0, + "pos": { + "x": 3792, + "y": 186 + }, + "preferredModes": [ + "43" + ], + "priority": 1, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 1, + "scale": 1, + "sdr-brightness": 420, + "size": { + "height": 2160, + "width": 3840 + }, + "sizeMM": { + "height": 809, + "width": 1439 + }, + "type": 6, + "wcg": true + }, + { + "clones": [ + ], + "connected": true, + "currentModeId": "102", + "ddcCiAllowed": true, + "enabled": false, + "followPreferredMode": false, + "iccProfilePath": "", + "icon": "", + "id": 3, + "maxBpc": 0, + "modes": [ + { + "id": "102", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "103", + "name": "1920x1080@60", + "refreshRate": 60, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "104", + "name": "1920x1080@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "105", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "106", + "name": "1920x1080@50", + "refreshRate": 50, + "size": { + "height": 1080, + "width": 1920 + } + }, + { + "id": "107", + "name": "1680x1050@60", + "refreshRate": 59.882999420166016, + "size": { + "height": 1050, + "width": 1680 + } + }, + { + "id": "108", + "name": "1600x900@60", + "refreshRate": 60, + "size": { + "height": 900, + "width": 1600 + } + }, + { + "id": "109", + "name": "1280x1024@60", + "refreshRate": 60.02000045776367, + "size": { + "height": 1024, + "width": 1280 + } + }, + { + "id": "110", + "name": "1440x900@60", + "refreshRate": 59.9010009765625, + "size": { + "height": 900, + "width": 1440 + } + }, + { + "id": "111", + "name": "1280x800@60", + "refreshRate": 59.90999984741211, + "size": { + "height": 800, + "width": 1280 + } + }, + { + "id": "112", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "113", + "name": "1280x720@60", + "refreshRate": 60, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "114", + "name": "1280x720@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "115", + "name": "1280x720@50", + "refreshRate": 50, + "size": { + "height": 720, + "width": 1280 + } + }, + { + "id": "116", + "name": "1024x768@60", + "refreshRate": 60.00400161743164, + "size": { + "height": 768, + "width": 1024 + } + }, + { + "id": "117", + "name": "800x600@60", + "refreshRate": 60.31700134277344, + "size": { + "height": 600, + "width": 800 + } + }, + { + "id": "118", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "119", + "name": "720x576@50", + "refreshRate": 50, + "size": { + "height": 576, + "width": 720 + } + }, + { + "id": "120", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "121", + "name": "720x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "122", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "123", + "name": "720x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 720 + } + }, + { + "id": "124", + "name": "640x480@60", + "refreshRate": 60, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "125", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "126", + "name": "640x480@60", + "refreshRate": 59.939998626708984, + "size": { + "height": 480, + "width": 640 + } + }, + { + "id": "127", + "name": "720x400@70", + "refreshRate": 70.08200073242188, + "size": { + "height": 400, + "width": 720 + } + }, + { + "id": "128", + "name": "1368x768@60", + "refreshRate": 59.88199996948242, + "size": { + "height": 768, + "width": 1368 + } + } + ], + "name": "HDMI-A-1", + "overscan": 0, + "pos": { + "x": 0, + "y": 0 + }, + "preferredModes": [ + "102" + ], + "priority": 0, + "replicationSource": 0, + "rgbRange": 0, + "rotation": 2, + "scale": 1, + "size": { + "height": 1920, + "width": 1080 + }, + "sizeMM": { + "height": 268, + "width": 476 + }, + "type": 6 + } + ], + "screen": { + "currentSize": { + "height": 2160, + "width": 3840 + }, + "id": 0, + "maxActiveOutputsCount": 3, + "maxSize": { + "height": 64000, + "width": 64000 + }, + "minSize": { + "height": 0, + "width": 0 + } + }, + "tabletModeAvailable": false, + "tabletModeEngaged": false +} diff --git a/save-display-profile.sh b/save-display-profile.sh new file mode 100755 index 0000000..cb1f4d6 --- /dev/null +++ b/save-display-profile.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# Check for correct usage +if [ $# -lt 1 ]; then + echo "Usage: $0 " + exit +fi + +OUTPUT_CONFIG_NAME=$1 +kscreen-doctor --json > $OUTPUT_CONFIG_NAME \ No newline at end of file