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

6 lines
118 B
Bash
Executable File

#!/bin/bash
# Returns true when no monitors are connected
(( $(hyprctl monitors -j 2>/dev/null | jq length) == 0 ))