FIX use scripts dir when calling helper
FIX xinit package name REF add install scripts docs
This commit is contained in:
parent
a967849d1d
commit
66d8000284
30
README.md
30
README.md
|
@ -18,3 +18,33 @@ Built just for me...although you may fork if you like it ;)
|
||||||
* selecting Wifi networks (networkmanager_dmenu)
|
* selecting Wifi networks (networkmanager_dmenu)
|
||||||
* clipboard management (greenclip)
|
* clipboard management (greenclip)
|
||||||
* mounting disks
|
* mounting disks
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
|
||||||
|
The "easy" way will only work on Arch out of the box.
|
||||||
|
|
||||||
|
After cloning this repo, move to the root of this repo and install the build
|
||||||
|
dependency packages:
|
||||||
|
|
||||||
|
```
|
||||||
|
pacman -S --needed - < make_pkgs
|
||||||
|
```
|
||||||
|
|
||||||
|
Build/install xmonad/xmobar binaries:
|
||||||
|
|
||||||
|
```
|
||||||
|
stack install
|
||||||
|
```
|
||||||
|
|
||||||
|
Install official runtime dependencies:
|
||||||
|
|
||||||
|
```
|
||||||
|
pacman -S --needed $(./scripts/pacman_deps)
|
||||||
|
```
|
||||||
|
|
||||||
|
Install unofficial runtime dependencies with your favorite AUR helper (which is
|
||||||
|
obviously yay):
|
||||||
|
|
||||||
|
```
|
||||||
|
yay -S $(./scripts/aur_deps)
|
||||||
|
```
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
# Print list of packages to be installed via yay
|
# Print list of packages to be installed via yay
|
||||||
|
|
||||||
mapfile -t local < <(./.query_pkgs "AUR")
|
this_dir=$(dirname "$0")
|
||||||
|
|
||||||
|
mapfile -t local < <("$this_dir/.query_pkgs" "AUR")
|
||||||
|
|
||||||
if ! yay -Si "${local[@]}" > /dev/null; then
|
if ! yay -Si "${local[@]}" > /dev/null; then
|
||||||
echo "At least one local package doesn't exist."
|
echo "At least one local package doesn't exist."
|
||||||
|
|
|
@ -4,9 +4,11 @@
|
||||||
|
|
||||||
# these are extra packages that pertain to processes outside xmonad but are
|
# these are extra packages that pertain to processes outside xmonad but are
|
||||||
# still required/desired to make it work correctly
|
# still required/desired to make it work correctly
|
||||||
xmonad_pkgs=(xinit autorandr picom)
|
xmonad_pkgs=(xorg-xinit autorandr picom)
|
||||||
|
|
||||||
mapfile -t official < <(./.query_pkgs "Official")
|
this_dir=$(dirname "$0")
|
||||||
|
|
||||||
|
mapfile -t official < <("$this_dir/.query_pkgs" "Official")
|
||||||
|
|
||||||
if ! pacman -Si "${official[@]}" > /dev/null; then
|
if ! pacman -Si "${official[@]}" > /dev/null; then
|
||||||
echo "At least one official package doesn't exist."
|
echo "At least one official package doesn't exist."
|
||||||
|
|
Loading…
Reference in New Issue