4 lines
158 B
Bash
Executable File
4 lines
158 B
Bash
Executable File
#!/bin/bash
|
|
|
|
grim -g "$(swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | slurp)" - | swappy -f -
|