/ de-omarchy / bin / omarchy-hyprland-monitor-focused
swadhinbiswas Initial de-omarchy: Omarchy UI layer for Arch-based distros · 8/22/2026
9f393b2
6 lines · 156 Bytes
1
2
3
4
5
6
#!/bin/bash

# omarchy:summary=Print the name of the currently focused Hyprland monitor.

hyprctl monitors -j | jq -r '.[] | select(.focused == true).name'