mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-29 21:37:42 -04:00
Merge pull request #987 from xtheeq/docs-update
fix(docs): screenshot geometry to use new ipc in full script
This commit is contained in:
commit
ce14ab828b
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ case "${1:-fullscreen}" in
|
|||
g=$(slurp -d); [ -z "$g" ] && exit 1
|
||||
grim -g "$g" "$filepath" ;;
|
||||
window)
|
||||
g=$(mmsg -x | awk '/x / {x=$3} /y / {y=$3} /width / {w=$3} /height / {h=$3} END {print x","y" "w"x"h}')
|
||||
g=$(mmsg get focusing-client | jq -r '"\(.x),\(.y) \(.width)x\(.height)"')
|
||||
[ -z "$g" ] && exit 1
|
||||
grim -g "$g" "$filepath" ;;
|
||||
freeze)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue