hyprmsn/eww/scripts/move_to_window.sh
2023-06-13 00:29:21 +03:00

3 lines
No EOL
188 B
Bash
Executable file

window_id=$(hyprctl clients | rg 'Window ([A-Fa-f0-9]+)' | grep -F "$*" | sed -E 's/Window (.*) \->.*/\1/g')
hyprctl dispatch focuswindow address:0x$window_id > /dev/null
eww close hyprmsn