dotfiles/.config/hypr/scripts/focused_monitor
Sergio Laín d906bda02f
feat(hypr): new custom_app_workspace script as well as other optimizations
script for launching an app on an specific workspace depending on the monitor
2023-11-05 18:16:09 +01:00

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"