Skip to content

Commit

Permalink
Merge pull request #35 from RazoBeckett/main
Browse files Browse the repository at this point in the history
Improve README.md
  • Loading branch information
ChrisTitusTech authored Jul 16, 2024
2 parents bc9ad51 + 4f50f07 commit 3d632f0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ Requirements
------------
In order to build dwm you need the Xlib header files.

### Build Dependencies

- For Arch-Based Distros

```bash
sudo pacman -S --needed base-devel libx11 libxinerama libxft imlib2
```

- For Debian/Ubuntu-Based Distros

```bash
sudo apt install -y build-essential libx11-dev libxinerama-dev libxft-dev libimblib2-dev
```

Installation
------------
Expand Down Expand Up @@ -72,3 +85,10 @@ Configuration
-------------
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code.

>[!TIP]
> Create a convenient alias for recompiling dwm. This alias will clean up your build directory by removing unnecessary files if the build command succeeds
> ```bash
> alias smci="sudo make clean install && rm *.o && rm *.orig"
> ```

0 comments on commit 3d632f0

Please sign in to comment.