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

4 lines
82 B
Bash
Executable File

#!/bin/bash
swaymsg -t get_tree | jq --raw-output '..|select(.focused? == true)'