1
0
Fork 0
dotfiles/files/.local/bin/get-focused-window-properties

4 lines
99 B
Plaintext
Raw Normal View History

2019-04-03 02:14:14 +00:00
#!/bin/bash
swaymsg -t get_tree | jq --raw-output '..|if .focused? == true then . else empty end'