4 lines
139 B
Bash
Executable file
4 lines
139 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
FOCUSED_MONITOR_NAME=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .name')
|
|
echo "$FOCUSED_MONITOR_NAME"
|