diff options
Diffstat (limited to 'desktop/modules/monitors/Mon.js')
| -rw-r--r-- | desktop/modules/monitors/Mon.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/modules/monitors/Mon.js b/desktop/modules/monitors/Mon.js index 865e155..5d63336 100644 --- a/desktop/modules/monitors/Mon.js +++ b/desktop/modules/monitors/Mon.js @@ -18,6 +18,16 @@ const AUTO = ["auto", "auto-left", "auto-right", "auto-up", "auto-down", "auto-center-left", "auto-center-right", "auto-center-up", "auto-center-down"]; +// Outputs the page leaves alone, so Apply never repositions them and Keep +// never writes a line that pins them: a virtual display is created with its +// own placement and should keep it. +// ponytail: a fixed list; a per-monitor toggle once more than one appears. +const UNMANAGED = ["TAB"]; + +function managed(list) { + return list.filter(m => !UNMANAGED.includes(m.name)); +} + // availableModes ("1920x1080@120.00Hz") without the suffix, duplicates // dropped: the ASUS lists 120Hz twice. function modes(avail) { |
