Files
laptop-config/roy-config/hypr/scripts/move-workspace-to-unfocused-monitor.sh
T

4 lines
154 B
Bash
Executable File

#!/bin/sh
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
hyprctl dispatch movecurrentworkspacetomonitor $monitor