summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-27 09:53:41 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-27 09:53:41 -0400
commit238621787f4b6351731855b3016498da76d77c5f (patch)
tree3e0dcdaa4debc7c09d0f7ff3bb0e0be45885b650
parent2754f6406580c555ac93e5e2ffc76bffcc67cc9b (diff)
downloadeibhear-238621787f4b6351731855b3016498da76d77c5f.tar.gz
eibhear-238621787f4b6351731855b3016498da76d77c5f.tar.zst
eibhear-238621787f4b6351731855b3016498da76d77c5f.zip
should prob use cp
-rwxr-xr-x.local/bin/setbg2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index dacd466..be4adfd 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -10,7 +10,7 @@
[ -f "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
-[ -d "$1" ] && mv "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Random Wallpaper chosen."
+[ -d "$1" ] && cp "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Random Wallpaper chosen."
# If pywal is installed, use it.
type wal >/dev/null 2>&1 && { wal -c