This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/scripts/bin/setbg
2019-02-04 09:57:54 -06:00

8 lines
147 B
Bash
Executable file

#!/usr/bin/env bash
index="${2}"
wp_file="${HOME}/.wallpaper${index}"
rm -f "${wp_file}"
ln -s "$(realpath "${1}")" "${wp_file}"
"${HOME}/.fehbg"