aboutsummaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2025-03-02 14:18:20 +0000
committerryo <ryo@nopwd.lol>2025-03-02 14:18:20 +0000
commit9b8855688aff1ee354fbaa7430f03209692ee0d0 (patch)
tree4047a154499e5e65622623dcd140b41476bac6a6 /setup.sh
parente602a23c7ecdc315da15dd6331e96bba50b9bf39 (diff)
Removed nvim and alacritty configsHEADmain
setup.sh: read package names from a file shell: clean up in aliases to keep it simple tmux: added two shortcuts
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh11
1 files changed, 6 insertions, 5 deletions
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