aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 5c1f694ce270be08258f937f5e145baea96a3ab9 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# README in progress

# Joe's dwm (the dynamic window manager) laptop build

The original [dwm](https://dwm.suckless.org/) desktop manager build use to use on my ThinkPad.

Based on version 6.2.



## Dependencies

  `gcc`  
  `make`  
  `xorg`  
  `libX11`  
  `libXft`

## Installation

To install this open a terminal and run these commands:
```shell
git clone https://github.com/JozanLeClerc/dwm-laptop.git
cd dwm-laptop
sudo make clean install
```
To use it as a default WM, if you are using xinit, add this to your `.xinitrc`:
```shell
exec dwm
```
I am not shure about how to set it up on `gdm`, `lightdm`, etc...

## Bindings

Some of the main key bindings:
- **switch to workspace** 1-10 with `super+{F1-F10}`
- **show all workspaces at once** with `super+F12`
- **move selected window to workspace** 1-10 with `super+shift+{F1-F10}`
- **fire up st** terminal with `super+return`
- **kill selected window** with `super+q`
- **select window** left/down/up/right with `super+h/j/k/l`
- **normal tiled mode** with `super+s`
- **alternative tiled mode** with `super+shift+s`
- **maximized mode (monocle)** on selected window with `super+f`
- **floating mode** on selected window with `super+space`
- **exit** dwm with `super+shift+e`

My own autostart script can be found under my [dotfiles](https://github.com/JozanLeClerc/dotfiles.git) repository. It should be placed in `~/.dwm/` directory.

As I am not using dwm anymore, developpement on my build might stop on this version.