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