1
0
Fork 0
dotfiles/home/dot_local/bin/executable_sway-focused-win...

4 lines
82 B
Bash

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