diff options
author | EuAndreh <eu@euandre.org> | 2025-02-27 07:35:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-02-27 07:35:44 -0300 |
commit | a0158ffc5416c2bd429a6162d1c3e5a4e31caddc (patch) | |
tree | 85117260924f3c1cfb6042f71b9c2880ea703454 /bin | |
parent | etc/sh/rc: Silence warning on of bad `img2sixel` completion file (diff) | |
download | dotfiles-a0158ffc5416c2bd429a6162d1c3e5a4e31caddc.tar.gz dotfiles-a0158ffc5416c2bd429a6162d1c3e5a4e31caddc.tar.xz |
bin/shot: Ensure directory of $TEMPLATE exists
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/shot | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ done shift $((OPTIND - 1)) TEMPLATE=~/Pictures/Screenshots/%Y-%m-%dT%H:%M:%S.png +mkdir -p "$(dirname "$TEMPLATE")" scrot $OPTS "$TEMPLATE" msg -D "screenshot saved on ~/Pictures/Screenshots/" |