diff options
| author | stkhan <personal@slickd.xyz> | 2024-01-01 00:31:23 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2024-01-01 00:31:23 +0000 |
| commit | 23dc77aaf01c9983ddf05220f412a3e08411d7fd (patch) | |
| tree | 22bf548deb1a4e03a821aeb028021a0ddb1b69b6 /scripts | |
| parent | 608c900f48d89379d796d4b85b738e029981dee4 (diff) | |
| parent | e8f073af7ba61b421858f62b6a06c984c9737adc (diff) | |
Merge branch 'master' of slickd.xyz:sarc
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/depm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/depm b/scripts/depm new file mode 100755 index 0000000..307eb09 --- /dev/null +++ b/scripts/depm @@ -0,0 +1,17 @@ +#!/bin/sh + +os=$(cat /etc/os-release | grep ID | head -n 1) + +install_arch() { + pacman -S --needed base-devel xorg-xserver xorg-xinit feh imagemagick adobe-source-code-pro-fonts ttf-joypixels unclutter picom dunst galculator light calcurse pavucontrol + + install_git +} + +install_git() { + +case $os in + "ID=arch") install_arch;; + *) echo "Unknown OS\n You must manually install dependencies" + quit;; +esac |