Four scripts matched internal panels with contains("eDP") while
omarchy-monitor-state used test("^(eDP|LVDS|DSI)-"), so laptops with
LVDS or DSI panels were internal to monitor-state but invisible to the
clamshell, mirror, and external-active logic. All five sites now share
the inclusive anchored pattern.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
7 lines
240 B
Bash
Executable File
7 lines
240 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Returns true when Hyprland has an active external monitor
|
|
# omarchy:hidden=true
|
|
|
|
hyprctl monitors -j | jq -e '.[] | select(.name | test("^(eDP|LVDS|DSI)-") | not) | select(.disabled == false)' >/dev/null 2>&1
|