aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: fac492de53095072a76e6ed5fecc2157015b413e (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
dminiwm
=======

### ~ it's minimal and dynamic

I started this from [catwm][cwm] 31/12/10 ([ArchLinux forums][cwmf])
Credits and licensing included in `dminiwm.c` and/or `config.h.def`.
For screenshots and ramblings/updates check [the topic on ArchLinux forums][dmnf]

  [cwm]: https://github.com/pyknite/catwm
  [cwmf]: https://bbs.archlinux.org/viewtopic.php?id=100215&p=1
  [dmnf]: https://bbs.archlinux.org/viewtopic.php?id=126463

Summary
-------

**dminiwm** is a very minimal and lightweight dynamic tiling window manager.
I will try to stay under 1000 SLOC.
Currently under 900 lines with the config file included.

Modes
-----

It allows the "normal" method of tiling window managers (with the new window as the master)
and with the new window opened at the bottom of the stack (like dwm's attach_aside)

---

*There's vertical tiling mode:*

    --------------
    |        | W |
    |        |___|
    | Master |   |
    |        |___|
    |        |   |
    --------------

---

*Horizontal tiling mode:*

    -------------
    |           |
    |  Master   |
    |-----------|
    | W |   |   |
    -------------

---

 *Grid tiling mode:*

    -------------
    |      | W  |
    |      |    |
    |------|----|
    |      |    |
    -------------

---

 *Fullscreen mode* (you'll know when you see it)

    -------------
    |           |
    |           |
    |           |
    |           |
    -------------

---

All accessible with keyboard shortcuts defined in the config.h file.

 * The window W at the top of the stack can be resized on a per desktop basis.
 * Changing a tiling mode or window size on one desktop doesn't affect the other desktops.


Status
------

There are more options in the config file than the original catwm.

 * Fixed the window manager crashing on a bad window error.
 * Fixed the keyboard shortcuts not working if numlock was on.
 * Added some functions.
 * Added an option to focus the window the mouse just moved to.
 * Fixed a window being destroyed on another desktop creating ghost windows.
 * Added ability to resize the window on the top of the stack
 * Added having applications open on specified desktop


Installation
------------

You need Xlib, then,
copy the `config.h.deh` file as `config.h` and edit to suit your needs.
Build and install the project.

    $ cp config.h.def config.h
    $ $EDITOR config.h   # optional

    $ make
    # make install
    $ make clean

Bugs
----

No bugs for the moment ;) (I mean, no importants bugs)

For any issues report at [the topic on ArchLinux forums][dmnf],
or [fill an issue][bug] on [GitHub][ghp]

  [bug]: https://github.com/moetunes/dminimalwm/issues
  [ghp]: https://github.com/moetunes/dminimalwm