diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-21 13:42:06 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-10-21 13:42:06 +0300 |
commit | af069fea96c10ae6946bccbaad36175d3e013363 (patch) | |
tree | 7a0acc05098f9b7d2abe10d209c878db6a7a1875 /install.sh | |
parent | 6983c1eb909e4c7182ff208da139f2a4469d1514 (diff) | |
download | swayrice-af069fea96c10ae6946bccbaad36175d3e013363.tar.gz swayrice-af069fea96c10ae6946bccbaad36175d3e013363.zip |
Some cleanup
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/install.sh b/install.sh deleted file mode 100755 index b792183..0000000 --- a/install.sh +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -# Helper script to install some programs and configs for an Arch+Sway system -# Needs (quite some) work - -if [ -z "$1" ]; then - echo "Specify username for new user" - exit 1; -fi - -CLONEDIR=$PWD - -# Install some basic programs -pacman -Sy --noconfirm base-devel zsh zsh-syntax-highlighting man networkmanager openresolv wireguard-tools bind-tools neovim sway swaylock swayidle waybar egl-wayland imv swaybg xorg-server-xwayland termite kitty qt5-wayland wl-clipboard dbus tmux htop bemenu mupdf mpd ncmpcpp mpc mpv libnotify mako cronie rsync grim slop ffmpeg w3m youtube-dl youtube-viewer newsboat wget curl krita inkscape darktable gcc make fontconfig pkg-config fakeroot papirus-icon-theme alsa-utils pulseaudio pamixer pulseaudio-bluetooth imagemagick ntfs-3g unzip unrar gnome-themes-standard gtk-engine-murrine 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 acpilight powertop accountsservice lightdm xdg-user-dirs abook ranger terminus-font qutebrowser jq stow wdiff texlive-most pandoc units isync notmuch 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 systemd/hotspot.service /etc/systemd/system/ -cp systemd/startupsound.service /etc/systemd/system/ -cp system/pam.d/* /etc/pam.d/ -cp system/systemd/journald.conf /etc/systemd/journald.conf - -systemctl enable lightdm -systemctl enable NetworkManager -systemctl start NetworkManager - -# Create non-root user with superuser privileges -useradd -G wheel network video storage optical disk audio -s /bin/zsh "$1" -passwd "$1" - -# 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 - -cd "$CLONEDIR" - -# System customization (graphical loader, DM) -cp -r system/loader/ /boot/loader/ -cp -r system/lightdm/ /etc/lightdm/ -cp system/plymouth/bgrt.plymouth /usr/share/plymouth/themes/bgrt/bgrt.plymouth - -# Copy some fonts to make them available system-wide -mkdir -p /usr/share/fonts/rice -cp system/fonts/* /usr/share/fonts/rice/ - -plymouth-set-default-theme -R bgrt |