Browse Source

wallpaper

master
Juni Kim 2 years ago
parent
commit
d6f1a8148f
  1. 6
      install_alpine.sh

6
install_alpine.sh

@ -83,7 +83,9 @@ EOF
dev() { dev() {
echo "Developer tools..." echo "Developer tools..."
doas apk add build-base python3 nodejs npm go curl bash shadow || exit 1
doas sed -i "s|#http|http|g" /etc/apk/repositories
doas apk update
doas apk add build-base python3 nodejs npm go curl bash shadow git || exit 1
if ! test -z "$NVIM"; then if ! test -z "$NVIM"; then
doas apk add cargo doas apk add cargo
fi fi
@ -199,7 +201,7 @@ EOF
echo "exec i3" > "$HOME/.xinitrc" echo "exec i3" > "$HOME/.xinitrc"
# wallpaper # wallpaper
mkdir -p "$HOME/banner.jpg"
mkdir -p "$HOME/wallpaper"
wget https://alpinelinux.org/banner.jpg -o "$HOME/wallpaper/banner.jpg" wget https://alpinelinux.org/banner.jpg -o "$HOME/wallpaper/banner.jpg"
sed -i "s|exec --no-startup-id nitrogen --restore|exec --no-startup-id feh --bg-fill ~/wallpaper/banner.jpg|" "$HOME/.config/i3/config" sed -i "s|exec --no-startup-id nitrogen --restore|exec --no-startup-id feh --bg-fill ~/wallpaper/banner.jpg|" "$HOME/.config/i3/config"
} }

Loading…
Cancel
Save