mirror of
https://github.com/thesleepingsage/hypr-lens.git
synced 2026-11-01 06:56:42 +01:00
Replace the manual monitorOrder config array (a debugging artifact from a temporarily rearranged setup) with automatic sorting by Hyprland layout position (ascending x, ties by y). The list is rebuilt on every overlay open, screen hotplug, and shortcut re-trigger, with refreshMonitors() and an unpopulated-monitor (lastIpcObject) fallback to ShellScreen position. Removes the regex JSONC parse path and the monitorOrder key from the config schema and defaults.
54 lines
992 B
JSON
54 lines
992 B
JSON
{
|
|
"appearance": {
|
|
"matugenPath": "",
|
|
"ripple": {
|
|
"usePrimaryColor": true,
|
|
"colorMixRatio": 0.65,
|
|
"solidRadius": 0.45,
|
|
"fadeRadius": 0.7
|
|
}
|
|
},
|
|
"screenSnip": {
|
|
"savePath": "",
|
|
"copyAlsoSaves": false
|
|
},
|
|
"screenRecord": {
|
|
"savePath": ""
|
|
},
|
|
"ocr": {
|
|
"useCircleSelection": false
|
|
},
|
|
"search": {
|
|
"imageSearch": {
|
|
"imageSearchEngineBaseUrl": "https://lens.google.com/uploadbyurl?url=",
|
|
"useCircleSelection": false
|
|
}
|
|
},
|
|
"regionSelector": {
|
|
"dragThreshold": 6,
|
|
"targetRegions": {
|
|
"windows": true,
|
|
"layers": false,
|
|
"content": true,
|
|
"showLabel": false,
|
|
"opacity": 0.3,
|
|
"contentRegionOpacity": 0.8,
|
|
"selectionPadding": 5
|
|
},
|
|
"rect": {
|
|
"showAimLines": true
|
|
},
|
|
"circle": {
|
|
"strokeWidth": 6,
|
|
"padding": 10
|
|
},
|
|
"annotation": {
|
|
"useSatty": true
|
|
},
|
|
"crop": {
|
|
"minSize": 20,
|
|
"handleSize": 12
|
|
}
|
|
}
|
|
}
|