From 669eaa61cbead28957c0b541212e05a8ca8c7a7f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 22 Feb 2025 14:25:41 +1100 Subject: install: better install + use data and state Don't complete remove repos, use git pull instead Use XDG_DATA_HOME and XDG_STATE_HOME --- screenshot.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screenshot.fish') 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" \ -- cgit v1.2.3-freya