aboutsummaryrefslogtreecommitdiff
path: root/artix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'artix.sh')
-rwxr-xr-xartix.sh37
1 files changed, 20 insertions, 17 deletions
diff --git a/artix.sh b/artix.sh
index 9352aa7..99918eb 100755
--- a/artix.sh
+++ b/artix.sh
@@ -4,12 +4,12 @@
# Artix+runit+Sway system
pacman -Sy zsh zsh-syntax-highlighting wireguard-tools mediainfo highlight \
- bind-tools sway swaylock swayidle waybar egl-wayland imv swaybg \
+ bind-tools sway swaylock swayidle waybar egl-wayland imv swaybg man-db \
xorg-server-xwayland alacritty qt5-wayland wl-clipboard dbus tmux htop \
bemenu bemenu-wlroots mupdf mpd ncmpcpp mpc mpv libnotify cronie \
- cronie-runit metalog metalog-runit dnsmasq networkmanager \
+ cronie-runit metalog metalog-runit dnsmasq networkmanager dhcpcd \
networkmanager-runit rsync grim wf-recorder slurp ffmpeg w3m youtube-dl \
- youtube-viewer newsboat wget curl inkscape gimp darktable gcc make \
+ newsboat wget curl inkscape gimp darktable gcc make wpa_supplicant \
fontconfig pkg-config fakeroot papirus-icon-theme alsa-utils pulseaudio \
pamixer pulseaudio-bluetooth imagemagick ntfs-3g unzip unrar \
gnome-themes-standard telegram-desktop qt5ct r bc udisks2 dash \
@@ -17,8 +17,8 @@ pacman -Sy zsh zsh-syntax-highlighting wireguard-tools mediainfo highlight \
python-pynvim python-pip python-pillow calcurse acpi acpid gnupg \
noto-fonts-cjk noto-fonts-emoji ttf-joypixels otf-latin-modern \
otf-latinmodern-math powerline-fonts python-pygit2 polkit polkit-gnome \
- zathura zathura-pdf-mupdf zathura-djvu gst-libav vifm blueman bluez \
- bluez-runit acpilight accountsservice xdg-user-dirs abook terminus-font \
+ zathura zathura-pdf-mupdf zathura-djvu gst-libav blueman bluez \
+ bluez-runit acpilight accountsservice xdg-user-dirs terminus-font \
qutebrowser jq stow wdiff texlive-most texlive-lang biber units isync \
notmuch pass translate-shell gnome-keyring pacman-contrib linux-headers \
openntpd openntpd-runit v4l2loopback-dkms || exit 1
@@ -31,14 +31,20 @@ cp -r system/NetworkManager/* /etc/NetworkManager/
cp -r system/pacman.d/hooks /etc/pacman.d/
cp -r runit/powertune /etc/runit/sv/
+# Copy some fonts to make them available system-wide
+mkdir -p /usr/share/fonts/rice
+cp system/fonts/* /usr/share/fonts/rice/
+
# Activate runit services
-ln -s /etc/runit/sv/dbus /run/runit/service/
-ln -s /etc/runit/sv/bluetoothd /run/runit/service/
-ln -s /etc/runit/sv/cronie /run/runit/service/
-ln -s /etc/runit/sv/metalog /run/runit/service/
-ln -s /etc/runit/sv/NetworkManager /run/runit/service/
-ln -s /etc/runit/sv/dhcpcd /run/runit/service/
-ln -s /etc/runit/sv/wpa_supplicant /run/runit/service/
+ln -s /etc/runit/sv/dbus /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/bluetoothd /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/cronie /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/metalog /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/NetworkManager /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/dhcpcd /etc/runit/runsvdir/default/
+ln -s /etc/runit/sv/wpa_supplicant /etc/runit/runsvdir/default/
+
+exit
# Install AUR helper
cd /tmp
@@ -48,9 +54,6 @@ cd build
sudo -u "$1" "git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si"
yay -S --noconfirm aerc-git ttf-symbola ttf-ms-fonts pam-gnupg ncpamixer mimeo \
- xdg-utils-mimeo cli-visualizer lf dragon-drag-and-drop swaylock-effects
-
-# Copy some fonts to make them available system-wide
-mkdir -p /usr/share/fonts/rice
-cp system/fonts/* /usr/share/fonts/rice/
+ xdg-utils-mimeo cli-visualizer lf dragon-drag-and-drop swaylock-effects \
+ youtube-viewer abook