aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 874d34050f884d9fe9696b7811ed98c9ca049f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Kumar's DWM build
This repo has been created from the `dwm` source repo, and modified with a few patches that serve *my* workflow.

## Requirements
In order to build dwm you need the Xlib header files for your distro.

## Installation
```
make clean install
```
Now you can either use `exec dwm` at the end of your `.xinitrc` and it should start up `dwm` when you do `startx`. I like to use a gui greeter because it allows you to pick any entry in `/usr/share/xsessions/`at login. So just create a new entry for `dwm` here `/usr/share/xsessions/dwm.desktop`:
```
[Desktop Entry]
Name=dwm
Encoding=UTF-8
Comment=Runs dwm
Exec=dwm
Type=Application
```

## Configuration
The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.

## Patches
You can find all the patches used in the `patches/` dir. All of these can be found in the patches page in the official dwm website.

- autostart (place a file called `autostart.sh` in your `$XDG_CONFIG_HOME/dwm` dir)
- vanitygaps
- pertag
- scratchpad
- always centered
- restartsig