Files
dotfiles/quickshell/CONTINUATION_MONITOR_PREVIEW.md
T
2026-11-17 18:15:16 +07:00

8 lines
989 B
Markdown

# Monitor preview with automatic rollback
Settings → Дисплей и яркость now offers mode and scale choices sourced from Hyprland. Preview uses `hyprctl keyword monitor` and starts a detached 20-second rollback watcher. Confirm within 20 seconds or the previous monitor rule is restored. Changes are session-only; `hypr/monitors.lua` and `hypr/monitors.conf` are untouched.
**Limitations:** the preview currently restores resolution, refresh rate, scale, and position, but not all advanced monitor properties (e.g. transform, VRR, bit depth). Avoid using the preview on rotated displays until the rollback path supports those properties. A compositor crash or process termination can defeat rollback. External testing is required. Changing a mode may cause the UI to move to another monitor. If that happens, wait 20 seconds. The mode selector is populated from Hyprland `availableModes`.
Tests: `cd quickshell && python3 -m unittest discover -s tests -p 'test_*.py' -q`.