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

4 lines
99 B
Bash
Executable File

#!/bin/bash
swaymsg -t get_tree | jq --raw-output '..|if .focused? == true then . else empty end'