diff options
Diffstat (limited to 'screenshot.fish')
| -rwxr-xr-x | screenshot.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/screenshot.fish b/screenshot.fish index a0f6177..7363631 100755 --- a/screenshot.fish +++ b/screenshot.fish @@ -2,8 +2,8 @@ . (dirname (status filename))/util.fish -mkdir -p "$CACHE/screenshots" -set -l tmp_file "$CACHE/screenshots/$(date +'%Y%m%d%H%M%S')" +mkdir -p "$C_CACHE/screenshots" +set -l tmp_file "$C_CACHE/screenshots/$(date +'%Y%m%d%H%M%S')" grim $argv $tmp_file; and wl-copy < $tmp_file; or exit 1 set -l action (notify-send -i 'image-x-generic-symbolic' -h "STRING:image-path:$tmp_file" \ |