Files
nixos-config/glasshouse-desktop/home/scripts/scripts/switchmon.sh

4 lines
125 B
Bash
Executable File

#!/bin/zsh
hyprctl dispatch focusmonitor $(echo "$(hyprctl -j monitors)" | jq -r '.[] | select(.focused == false) | .name')