1
0
Fork 0
dotfiles/files/.local/bin/sway-focused-window-geometry

4 lines
148 B
Plaintext
Raw Normal View History

2021-04-10 20:37:16 +00:00
#!/bin/bash
get-focused-window-properties | jq --raw-output '.rect|((.x|tostring)+","+(.y|tostring)+" "+(.width|tostring)+"x"+(.height|tostring))'