aboutsummaryrefslogtreecommitdiff
path: root/artix.sh
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-06-29 05:46:13 +0300
committerYaroslav <contact@yaroslavps.com>2020-06-29 05:46:13 +0300
commit378cab2ec31574daae3f8332cf30924214b58c8f (patch)
tree776b8bfbdafd5efbf5b573c5785a17bcbd75e501 /artix.sh
parent03af81b91d0b5570fb8fe2d33c16edd810637d2b (diff)
downloadswayrice-378cab2ec31574daae3f8332cf30924214b58c8f.tar.gz
swayrice-378cab2ec31574daae3f8332cf30924214b58c8f.zip
artix-specific stuff; use pacmixer instead of ncpamixer
Diffstat (limited to 'artix.sh')
-rwxr-xr-xartix.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/artix.sh b/artix.sh
new file mode 100755
index 0000000..b0a699d
--- /dev/null
+++ b/artix.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# Very basic helper script to install some programs and configs for an
+# Artix+runit+Sway system
+
+pacman -Sy --noconfirm zsh zsh-syntax-highlighting openresolv wireguard-tools bind-tools sway swaylock swayidle waybar egl-wayland imv swaybg xorg-server-xwayland termite kitty qt5-wayland wl-clipboard dbus tmux htop bemenu bemenu-wlroots mupdf mpd ncmpcpp mpc mpv libnotify mako cronie cronie-runit metalog metalog-runit dnsmasq dnsmasq-runit networkmanager networkmanager-runit rsync grim slurp ffmpeg w3m youtube-dl youtube-viewer newsboat wget curl inkscape gimp darktable gcc make 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 perl-term-readline-gnu transmission-cli transmission-remote-gtk 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 lightdm xdg-user-dirs abook ranger terminus-font qutebrowser jq stow wdiff texlive-most units isync notmuch pass translate-shell gnome-keyring pacman-contrib
+
+# Copy system config files
+cp system/sudoers /etc/
+cp system/resolvconf.conf /etc/
+cp system/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.conf
+cp system/mkinitcpio.conf /etc/
+cp system/pam.d/* /etc/pam.d/
+
+resolvconf -u
+
+# Install AUR helper
+cd /tmp
+mkdir build
+chown -R "$1:$1" build
+cd build
+sudo -u "$1" "git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si"
+
+yay -S --noconfirm aerc-git ttf-symbola pam-gnupg pacmixer mimeo xdg-utils-mimeo cli-visualizer
+
+# Copy some fonts to make them available system-wide
+mkdir -p /usr/share/fonts/rice
+cp system/fonts/* /usr/share/fonts/rice/
+