Compare commits
2 commits
8d75b8c19f
...
fe0a7ac109
Author | SHA1 | Date | |
---|---|---|---|
|
fe0a7ac109 | ||
|
37fe063060 |
3 changed files with 5 additions and 9 deletions
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
# Simple update doors
|
# Simple update doors
|
||||||
|
|
||||||
cd $HOME/.doors && git pull && ./setup
|
cd "$HOME"/.doors && git pull && ./scripts/copy_and_link
|
||||||
|
|
|
@ -16,7 +16,7 @@ printf "\n\nInstalling Scripts..."
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
if [ ! -d "$HOME/.local/bin" ]; then
|
if [ ! -d "$HOME/.local/bin" ]; then
|
||||||
mkdir "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -rb bin "$HOME"/.local
|
cp -rb bin "$HOME"/.local
|
||||||
|
|
10
setup
10
setup
|
@ -118,18 +118,14 @@ cd "$HOME"/.doors &&
|
||||||
"$HOME"/.doors/scripts/copy_and_link "$input"
|
"$HOME"/.doors/scripts/copy_and_link "$input"
|
||||||
|
|
||||||
# Copy default wallpaper
|
# Copy default wallpaper
|
||||||
if ! test -d "$HOME"/Pictures; then
|
|
||||||
mkdir "$HOME"/Pictures
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! test -d "$HOME"/Pictures/Wallpapers; then
|
|
||||||
mkdir "$HOME"/Pictures/Wallpapers
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! test -f "$HOME"/Pictures/Wallpapers/door2.jpg; then
|
if ! test -f "$HOME"/Pictures/Wallpapers/door2.jpg; then
|
||||||
|
if ! test -d "$HOME"/Pictures/Wallpapers; then
|
||||||
|
mkdir -p "$HOME"/Pictures/Wallpapers
|
||||||
printf "Downloading default wallpaper...\n"
|
printf "Downloading default wallpaper...\n"
|
||||||
curl -so "$HOME"/Pictures/Wallpapers/door2.jpg https://old.doordesk.net/door2.jpg &&
|
curl -so "$HOME"/Pictures/Wallpapers/door2.jpg https://old.doordesk.net/door2.jpg &&
|
||||||
wal -ensqi "$HOME"/Pictures/Wallpapers
|
wal -ensqi "$HOME"/Pictures/Wallpapers
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wrap up
|
# Wrap up
|
||||||
|
|
Loading…
Add table
Reference in a new issue