summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/Scripts/setwall3
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
}