personal_scripts

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 2ada7c5f32adbc316e7de001efc40086f78e3906
parent 4ead81dcf65e71defb4a71d0bd08df0974737477
Author: mrgrouse <bdmfegys@duck.com>
Date:   Tue, 12 Nov 2024 19:34:16 -0500

wall.sh: use `xdg-user-dirs-update` as fallback for an unset `$XDG_PICTURES`

Diffstat:
Mwall.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wall.sh b/wall.sh @@ -1,6 +1,6 @@ #!/bin/sh [ -z "$HOME" ] && HOME=/home -[ -z "$XDG_PICTURES" ] && XDG_PICTURES=$HOME/Pictures +[ -z "$XDG_PICTURES" ] && xdg-user-dirs-update || XDG_PICTURES=$HOME/Pictures case $1 in push) rsync -urv $XDG_PICTURES/ tetraonini@10.0.0.200:Pictures