diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-03-27 09:53:41 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-03-27 09:53:41 -0400 |
| commit | 238621787f4b6351731855b3016498da76d77c5f (patch) | |
| tree | 3e0dcdaa4debc7c09d0f7ff3bb0e0be45885b650 /.local/bin | |
| parent | 2754f6406580c555ac93e5e2ffc76bffcc67cc9b (diff) | |
| download | eibhear-238621787f4b6351731855b3016498da76d77c5f.tar.gz eibhear-238621787f4b6351731855b3016498da76d77c5f.tar.zst eibhear-238621787f4b6351731855b3016498da76d77c5f.zip | |
should prob use cp
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/setbg | 2 |
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 |
