From a816efd9998fc6ebce8ce1c7fd7c92ceec7a342f Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 2 Aug 2019 19:13:07 +0200 Subject: [PATCH] Small changes --- .scripts/wm/lock.sh | 2 +- .scripts/wm/wallpaper.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 .scripts/wm/wallpaper.sh diff --git a/.scripts/wm/lock.sh b/.scripts/wm/lock.sh index 491bd95..3e2d6d5 100755 --- a/.scripts/wm/lock.sh +++ b/.scripts/wm/lock.sh @@ -1,6 +1,6 @@ #!/bin/sh -ICON="$XDG_CACHE_HOME/tmp.lock.png" +ICON="$XDG_CACHE_HOME/lock.png" if [ ! -f "$ICON" ]; then touch "$ICON" diff --git a/.scripts/wm/wallpaper.sh b/.scripts/wm/wallpaper.sh old mode 100644 new mode 100755 index 18ee971..3a88d10 --- a/.scripts/wm/wallpaper.sh +++ b/.scripts/wm/wallpaper.sh @@ -1,3 +1,7 @@ #!/bin/sh +# Overwrite wallpaper with new image if provided +[ -n "$1" ] && cp "$1" "$HOME/pictures/wallpaper.jpg" + +# Set wallpaper feh --no-fehbg --bg-fill "$HOME/pictures/wallpaper.jpg"