From aefdd9cca144810f4b012b0a0ec5fdd4576df4d8 Mon Sep 17 00:00:00 2001 From: monosans Date: Sun, 3 Apr 2022 12:56:32 +0300 Subject: Add PKGBUILD and update Arch installation guide --- README.md | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index cdc1ab4..9dd07c5 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,39 @@ I haven't kept `man dwm`/`dwm.1` updated though. PRs welcome on that, lol. - [vanitygaps](https://dwm.suckless.org/patches/vanitygaps/): Gaps allowed across all layouts. - [swallow patch](https://dwm.suckless.org/patches/swallow/): if a program run from a terminal would make it inoperable, it temporarily takes its place to save space. -## Installation for newbs +## Installation on Arch Linux based distributions + +### Download the source code + +```bash +git clone https://github.com/LukeSmithxyz/dwm.git +cd dwm +``` + +### Configure + +To use a custom `config.h`, place it in the package directory. + +### Compile and install +To compile dwm you need to install the `base-devel` package group if you haven't done it previously. + +If you have `paru` installed: + +```bash +paru -Ui +``` + +Otherwise: + +```bash +makepkg -cirs ``` -git clone https://github.com/LukeSmithxyz/dwm + +## Installation for newbs + +```bash +git clone https://github.com/LukeSmithxyz/dwm.git cd dwm sudo make install ``` -- cgit v1.2.3