Files
archypr/scripts/hyprland-monitor-focused
T

6 lines
156 B
Bash
Executable File

#!/bin/bash
# archypr:summary=Print the name of the currently focused Hyprland monitor.
hyprctl monitors -j | jq -r '.[] | select(.focused == true).name'