Files
omarchycn/bin/omarchy-hyprland-monitors-many
T

6 lines
166 B
Bash
Executable File

#!/bin/bash
# Returns true when there are multiple monitors connected (so we can disable the internal one)
(( $(hyprctl monitors -j 2>/dev/null | jq length) > 1 ))