From 5ce00b4667f41e7a8e58aea57f96bbfa17df4d57 Mon Sep 17 00:00:00 2001 From: ostrov Date: Wed, 19 May 2021 11:57:15 +0000 Subject: [PATCH] Adds a Dependecy Listing Feature. This Feature helps to install dependencies much quicker and efficient way. --- CONTRIBUTING.md | 2 ++ README.md | 10 ++++++++++ dep/arch.txt | 15 +++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 dep/arch.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8f70907..addab74 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,3 +24,5 @@ The most important part of this project is to have fun using shell scripts. I cr - [Current Functions])(#current-functions) -[plugin_name](#plugin_name) ``` +## Edditing Dependency Listings +* When adding a plugin, please add your dependencies to the dependency listing file in dep folder. diff --git a/README.md b/README.md index ca31dfd..2e6a62f 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,16 @@ Dependencies: ```curl``` $ git clone https://github.com/joestandring/dwm-bar $ cd dwm-bar ``` +2. Install Dependencies from dep/YourDisto.txt + + * For Arch Linux + +``` +$ sudo pacman -S $(dep/arch.txt) +``` + +> :warning: Currently, only arch linux supports this feature. Dependency Lists for other Distributions are to be aded in future. + 2. Make the script executable ``` $ chmod +x dwm_bar.sh diff --git a/dep/arch.txt b/dep/arch.txt new file mode 100644 index 0000000..dccc812 --- /dev/null +++ b/dep/arch.txt @@ -0,0 +1,15 @@ +alsa-utils +cmus +xorg-setxkbmap +extra/mpc +wpa_supplicant +networkmanager +networkmanager-openvpn +calcurse +transmission-remote-gtk +xorg-xbacklight +connman +curl +pamixer +spotifyd +playerctl