diff options
author | Julian T <julian@jtle.dk> | 2020-09-05 16:08:46 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-09-05 16:08:46 +0200 |
commit | c62c5ace2bc4b529faf2bda1c56614f694f0d2ba (patch) | |
tree | e72d31a95ef251a8e55b223d3c9024cd47c57a2a /scripts/Scripts/setwall | |
parent | 8e9691780cd9ca260e289380f030f5c3213126e9 (diff) |
Setwall softlinks current wallpaper
Diffstat (limited to 'scripts/Scripts/setwall')
-rwxr-xr-x | scripts/Scripts/setwall | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Scripts/setwall b/scripts/Scripts/setwall index fb6f8a9..f385623 100755 --- a/scripts/Scripts/setwall +++ b/scripts/Scripts/setwall @@ -2,6 +2,7 @@ DEFPATH="$HOME/Pictures/defaultWall" WALLFILE="$HOME/Pictures/wallconfig" +WALLLINK="$HOME/Pictures/current_wall" BINNAME="setwall" function unsetwalls() { @@ -32,6 +33,8 @@ function setwalls() { function applywall() { echo applying wallpaper $1 + rm $WALLLINK + ln -s $(pwd)/$1 $WALLLINK feh --bg-fill $1 } |