aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2022-09-02 13:57:15 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2022-09-02 13:57:55 +0200
commita39594e17c5aad765418e9e6d5bd6def90d7c393 (patch)
treeee26020733eee8012c17716d87352077f0bbd1e2 /install.sh
parent1d4cb5e40977692a1bfc1b470125de8df9973b03 (diff)
Full install: support arch-based
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh34
1 files changed, 30 insertions, 4 deletions
diff --git a/install.sh b/install.sh
index 5baa621..e661fe9 100755
--- a/install.sh
+++ b/install.sh
@@ -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