Browse Source

banner

master
Juni Kim 2 years ago
parent
commit
50df0b3e70
  1. 3
      dots/i3config
  2. 10
      install_alpine.sh

3
dots/i3config

@ -23,8 +23,7 @@ font pango:monospace 8
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id polybar example
#exec --no-startup-id nitrogen --restore
#exec --no-startup-id xrandr -s 1440x900
exec --no-startup-id nitrogen --restore
exec --no-startup-id picom
# The combination of xss-lock, nm-applet and pactl is a popular choice, so

10
install_alpine.sh

@ -174,7 +174,7 @@ EOF
doas apk add xf86-input-evdev
# wm applications
doas apk add i3wm alacritty polybar i3lock rofi feh
doas apk add i3wm alacritty polybar i3lock rofi feh picom
# fonts
doas apk add font-jetbrains-mono-nerd terminus-font ttf-inconsolata ttf-dejavu font-noto font-noto-cjk ttf-font-awesome font-noto-extra
@ -193,13 +193,17 @@ EOF
mkdir -p "$HOME/.config/picom" || exit 1
cp "$DIR/dots/polybar.ini" "$HOME/.config/polybar/config" || exit 1
cp "$DIR/dots/i3config" "$HOME/.config/i3/config" || exit 1
cp "$DIR/dots/picom.conf" "$HOME/.config/picom/picom.conf" || exit 1
sed -i "s/brave-browser/firefox/" "$HOME/.config/i3/config"
cp "$DIR/dots/picom.conf" "$HOME/.config/picom/picom.conf" || exit 1
mkdir -p "$HOME/.config/alacritty" || exit 1
cp "$DIR/dots/alacritty.yml" "$HOME/.config/alacritty/alacritty.yml" || exit 1
echo "exec i3" > "$HOME/.xinitrc"
# wallpaper
mkdir -p "$HOME/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"
}
(dev && sysinfo && dotfiles && vimconfigs) || exit 1

Loading…
Cancel
Save