This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.linux/bash/module/wallpaper.sh

8 lines
166 B
Bash

# set specified file as a wallpaper.
wallpaper()
{
path_wallpaper=~/.local/share/backgrounds/background.jpg
cp "$1" $path_wallpaper
chmod 644 $path_wallpaper
}