summaryrefslogtreecommitdiff
path: root/scripts/depm
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-12-07 21:25:02 +0000
committerstkhan <personal@slickd.xyz>2023-12-07 21:25:02 +0000
commite8f073af7ba61b421858f62b6a06c984c9737adc (patch)
tree5ccf24104f35745bb1a7241cb921d8cbf5bf934b /scripts/depm
parent4625efed8cb2f01c0ad6c2f4818298c475acbcb4 (diff)
An unfinished depm
Diffstat (limited to 'scripts/depm')
-rwxr-xr-xscripts/depm17
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