diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 13:57:15 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 13:57:55 +0200 |
commit | a39594e17c5aad765418e9e6d5bd6def90d7c393 (patch) | |
tree | ee26020733eee8012c17716d87352077f0bbd1e2 /install.sh | |
parent | 1d4cb5e40977692a1bfc1b470125de8df9973b03 (diff) |
Full install: support arch-based
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 34 |
1 files changed, 30 insertions, 4 deletions
@@ -27,14 +27,40 @@ function command_exists { } if [ ${UID} -ne 0 ]; then - if command_exists sudo; then - SUDO="sudo" - elif command_exists doas; then + if command_exists doas; then SUDO="doas" + elif command_exists sudo; then + SUDO="sudo" fi fi -if command_exists apt; then +if command_exists pacman; then + pacman -Sy --noconfirm \ + bspwm \ + xorg \ + rofi \ + polybar \ + scrot \ + feh \ + picom \ + dunst \ + lua53 \ + vlc \ + firefox \ + thunderbird \ + signal-desktop \ + ttf-hack \ + noto-fonts-emoji \ + xclip \ + hexchat \ + brightnessctl \ + sndio \ + portaudio \ + iniparser + + git clone https://aur.archlinux.org/cava.git + (cd cava/ && makepkg -i) +elif command_exists apt; then wget -O- https://updates.signal.org/desktop/apt/keys.asc | ${SUDO} apt-key add - echo "deb [arch=$(dpkg --print-architecture)] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list |