From 9b8855688aff1ee354fbaa7430f03209692ee0d0 Mon Sep 17 00:00:00 2001 From: ryo Date: Sun, 2 Mar 2025 14:18:20 +0000 Subject: Removed nvim and alacritty configs setup.sh: read package names from a file shell: clean up in aliases to keep it simple tmux: added two shortcuts --- setup.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh index d678627..4d1249a 100755 --- a/setup.sh +++ b/setup.sh @@ -27,15 +27,16 @@ install() { source /etc/os-release distro="${NAME:-${DISTRIB_ID}}" distro_install="" + pkglist="" case $distro in - "Arch Linux") distro_install="pacman -S --needed" ;; + "Arch Linux") + distro_install="pacman -S --needed" + pkglist="arch-pkglist.txt" + ;; *) echo "Distro not supported"; exit ;; esac - sudo $distro_install rofi alacritty i3 i3blocks zsh neovim tmux firefox \ - base-devel xorg-xinit xwallpaper ttf-hack ttf-liberation dunst dash \ - zathura zathura-pdf-poppler pulseaudio pamixer brightnessctl \ - opendoas xorg-setxkbmap + sudo $distro_install $(cat $pkglist) [[ "$?" -ne 0 ]] && exit -- cgit v1.2.3