diff options
author | AnInternetTroll <lucafulger@gmail.com> | 2022-01-23 17:45:47 +0000 |
---|---|---|
committer | AnInternetTroll <lucafulger@gmail.com> | 2022-01-23 17:45:47 +0000 |
commit | b8821cb26c5d87386fb052ea279afbe467d232d3 (patch) | |
tree | 5b0e772403da7cbe2b0f91485630140636dddcaf /bootstrap.sh | |
parent | 92c1d51a5006edaf72b148d7440853e220fcb592 (diff) | |
download | dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.gz dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.bz2 dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.lz dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.xz dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.tar.zst dotfiles-b8821cb26c5d87386fb052ea279afbe467d232d3.zip |
Small updates
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 34ecc02..b7ce765 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -4,13 +4,15 @@ SYMLINKDIR=$(readlink -f "$0") BASEDIR=$(dirname "$SYMLINKDIR") cd $BASEDIR -source /etc/os-release +if [ -f /etc/os-release ]; then + . /etc/os-release + OS=$NAME +fi read -p "Install dependencies? (y/n) " -n 1; echo ""; if [[ $REPLY =~ ^[Yy]$ ]]; then - - case $ID in + case $OS in arch) sudo pacman -S picom xorg-setxkbmap feh xorg-xinput dash imlib2 xorg-xsetroot alacritty flameshot rofi xorg-xbacklight pamixer playerctl xsecurelock git base rsync ;; |