Bash : Remove old Wallpaper module.

This commit is contained in:
Dmitry Voronin 2024-03-21 23:20:40 +03:00
parent 87e9603a17
commit c5a66aef11

View file

@ -1,14 +0,0 @@
# Set specified file as a wallpaper.
# Usage: wallpaper <FILE>
function wallpaper() {
local target="${1}"
local path_wallpaper=~/.local/share/backgrounds/background.jpg
if [[ "${target}" = "" ]]; then
help wallpaper
return 2
fi
cp "${target}" "${path_wallpaper}"
chmod 644 "${path_wallpaper}"
}