diff options
author | xyz <gky44px1999@gmail.com> | 2021-08-13 20:23:22 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-08-13 20:23:22 -0700 |
commit | ceb390c840788a8db4238e8c8bc6e0b996290798 (patch) | |
tree | ee402540d64c977aeb0230c1f0979285d3687b2a /.config/sxiv/exec/key-handler | |
parent | a5b58972bfcea12b608871f7d4c9a147943f3320 (diff) |
export XDG_XXX_DIR env var in user-dirs.dirs, refactor
Diffstat (limited to '.config/sxiv/exec/key-handler')
-rwxr-xr-x | .config/sxiv/exec/key-handler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index bfad867f..1077b731 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -38,7 +38,7 @@ flip() { linkwall() { tr '\n' '\0' | xargs -0 realpath | sort | uniq | while read -r file; do - walldir="$HOME/pictures/wallpapers/" + walldir="$XDG_PICTURES_DIR/wallpapers/" name=$(basename "$file") if [ ! -e "$walldir$name" ]; then convwall "$file" "$walldir$name" || ln -s "$file" "$walldir" |