initial
This commit is contained in:
commit
32c61ec63a
4 changed files with 152 additions and 0 deletions
16
install.sh
Normal file
16
install.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
main() {
|
||||
local INSTALLDIR="$HOME/.local/share/wallpaper"
|
||||
local EXECDIR="$HOME/.local/bin"
|
||||
|
||||
git clone https://git.lucasf.xyz/public/wallpaper "$INSTALLDIR" > /dev/null 2>&1
|
||||
|
||||
ln -s "$INSTALLDIR/wallpaper.sh" "$EXECDIR/wallpaper"
|
||||
ln -s "$INSTALLDIR/wallp.sh" "$EXECDIR/wallp"
|
||||
}
|
||||
|
||||
main
|
||||
if [[ $? -eq 0 ]];then echo "Wallpaper installed!!"; fi
|
||||
|
||||
# vim: ft=bash:ts=4:sts=4:sw=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue