eww integration

This commit is contained in:
ShakedGold 2023-06-13 00:22:37 +03:00
parent 09a6557e45
commit 541ee65efc
5 changed files with 81 additions and 3 deletions

3
eww/scripts/move_to_window.sh Executable file
View file

@ -0,0 +1,3 @@
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 example