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/bin/setbg

9 lines
181 B
Plaintext
Raw Normal View History

2018-11-08 07:32:36 -06:00
#!/usr/bin/env bash
2018-11-08 10:49:00 -06:00
index="${2}"
wp_file="${HOME}/.wallpaper${index}"
rm -f "${wp_file}"
2019-12-16 09:51:21 -06:00
echo "Setting ${1} as ${wp_file}"
2019-02-04 09:57:54 -06:00
ln -s "$(realpath "${1}")" "${wp_file}"
2018-11-08 10:49:00 -06:00
"${HOME}/.fehbg"