claudiofreitas / stow

My configuration files (dotfiles)
1 stars 0 forks source link

Encapsulate screencapture long command #1

Open claudiofreitas opened 2 years ago

claudiofreitas commented 2 years ago

The command

screencapture -x -m "/Users/claudio/Screenshots/Screenshots/$(yabai -m query --windows --window | jq --raw-output .title)-$(date "+%Y-%m-%d--%H.%M.%S").png"

is too long already.

Try to encapsulate it inside a bash script for easier maintenance.

Commit: https://github.com/claudiofreitas/stow/commit/4ddb36567ba28a92159901bdec9a33e8f6aecbfa