1
0
Fork 0
dotfiles/files/bin/get-focused-window-geometry

4 lines
148 B
Bash
Executable File

#!/bin/bash
get-focused-window-properties | jq --raw-output '.rect|((.x|tostring)+","+(.y|tostring)+" "+(.width|tostring)+"x"+(.height|tostring))'