summaryrefslogtreecommitdiff
path: root/screenshot.fish
diff options
context:
space:
mode:
Diffstat (limited to 'screenshot.fish')
-rwxr-xr-xscreenshot.fish4
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" \