forked from Shinonome/caelestia-cli
install: better install + use data and state
Don't complete remove repos, use git pull instead Use XDG_DATA_HOME and XDG_STATE_HOME
This commit is contained in:
+2
-2
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user