about summary refs log tree commit diff stats
path: root/dwm.html
blob: 077bf21b21d62e036daf2f4ee8dd62a11b5f00e8 (plain) (blame)
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
119
120
121
122
123
124
125
126
127
<html>
	<head>
		<title>dwm - dynamic window manager</title>
		<meta name="author" content="Anselm R. Garbe">
		<meta name="generator" content="ed">
		<meta name="copyright" content="(C)opyright 2006 by Anselm R. Garbe">
		<link rel="dwm icon" href="favicon.ico" type="image/x-icon" />
		<style type="text/css">
			body {
				color: #000000;
				font-family: sans-serif;
				margin: 20px 20px 20px 20px;
			}
		</style>
	</head>
	<body>
		<center>
			<img src="dwm.png"/><br />
			<h3>dynamic window manager</h3>
		</center>
		<h3>Description</h3>
		<p>
		dwm is a dynamic window manager for X11.
		</p>
		<h4>Background</h4>
		<p>
		As founder and main developer of wmii I came to the conclusion that
		wmii is too clunky for my needs. I don't need so many funky features
		and all this hype about remote control through a 9P service, I only
		want to manage my windows in a simple, but dynamic way. wmii never got
		finished because I listened to users, who proposed arbitrary ideas I
		considered useful. This resulted in an extreme <a
		href="http://www.jwz.org/doc/cadt.html">CADT</a> development model,
		which was a mistake. Thus the philosophy of dwm is simply <i>to fit my
		needs</i> (maybe yours as well). That's it.
		</p>
		<h4>Differences to ion, larswm, and wmii</h4>
		<p>
		In contrast to ion, larswm, and wmii, dwm is much smaller, faster and simpler.
		</p>
		<ul>
			<li>
			dwm has no Lua integration, no 9P support, no editable
			tagbars, no shell-based configuration, no remote control, and comes
			without any additional tools like printing the selection or warping
			the mouse.
			</li>
			<li>
			dwm is only a single binary, it's source code is intended to never
			exceed 2000 SLOC.
			</li>
			<li>
			dwm is based on tagging and dynamic window management (however
			simpler than ion, wmii or larswm). It manages windows in
			tiling and floating modes. Either mode can be applied dynamically,
			depending on the application in use and the task performed.
			</li>
			<li>
			dwm doesn't distinguishes between layers, there is no floating or
			tiled layer. Wether the clients of currently selected tag are in
			tiled mode or not, you can re-arrange all clients on the fly.
			Popup- and fixed-size windows are treated floating, however. 
			</li>
			<li>
			dwm is customized through editing its source code, that makes it
			extremely fast and secure - it does not process any input data
			which hasn't been known at compile time, except window title names
			and status text read from standard input. You don't have to learn
			Lua/sh/ruby or some weird configuration file format (like X
			resource files), beside C to customize it for your needs,
			you <b>only</b> have to learn C (at least editing header files).
			</li>
			<li>
			Because dwm is customized through editing its source code, it's
			pointless to make binary packages of it. This keeps its userbase
			small and elitist. No novices asking stupid questions.
			</li>
			<li>
			dwm uses 1-pixel borders to provide the maximum of screen real
			estate to clients. Small titlebars are only drawn in front of
			unfocused clients.
			</li>
			<li>
			dwm reads from standard input to print arbitrary status text (like
			the date, load, battery charge). That's much simpler than
			larsremote, wmiir and what not...
			</li>
			<li>
			It can be downloaded and distributed under the conditions
			of the <a href="http://10kloc.org/cgi-bin/hgwebdir.cgi/dwm?f=f10eb1139362;file=LICENSE;style=raw">MIT/X Consortium license</a>.
			</li>
			<li>
			Optionally you can install <b>dmenu</b> to extend dwm with a wmii-alike menu.
			</li>
		</ul>
		<h4>Links</h4>
		<ul>
			<li><a href="http://10kloc.org/cgi-bin/man/man2html?query=dwm">Man page</a></li>
			<li><a href="http://10kloc.org/shots/dwm-20060810a.png">Screenshot of tiled mode</a> (20060810)</li>
			<li><a href="http://10kloc.org/shots/dwm-20060810b.png">Screenshotof floating mode</a> (20060810)</li>
			<li><a href="http://10kloc.org/download/poster.ps">A4 poster (PostScript)</a></li>
			<li>Mailing List: <a href="http://10kloc.org/cgi-bin/mailman/listinfo/dwm">dwm at wmii dot de</a> <a href="http://10kloc.org/pipermail/dwm/">(Archives)</a></li>
			<li>IRC channel: <code>#dwm</code> at <code>irc.oftc.net</code></li>
		</ul>
		<h3>Download</h3>
		<ul>
			<li><a href="http://10kloc.org/download/dwm-0.8.tar.gz">dwm 0.8</a> (14kb) (20060810)</li>
			<li><a href="http://10kloc.org/download/dmenu-0.3.tar.gz">dmenu 0.3</a> (7kb) (20060810)</li>
		</ul>
		<h3>Development</h3>
		<p>
		dwm is actively developed in parallel to wmii. You can <a href="http://10kloc.org/cgi-bin/hgwebdir.cgi/dwm">browse</a> its source code repository or get a copy using <a href="http://www.selenic.com/mercurial/">Mercurial</a> with following command:
		</p>
		<p>
		<code>hg clone http://10kloc.org/cgi-bin/hgwebdir.cgi/dwm</code>
		</p>
		<p>
		<code>hg clone http://10kloc.org/cgi-bin/hgwebdir.cgi/dmenu</code>
		</p>
		<h3>Miscellaneous</h3>
		<p>
		You can purchase this <a href="https://www.spreadshirt.net/shop.php?op=article&article_id=3298632&view=403">tricot</a>
		if you like dwm and the dwm logo, which has been designed by Anselm.
		</p>
		<p><small>--Anselm</small></p>
	</body>
</html>
>barejid, message): """Called before a chat room message is sent :param barejid: Jabber ID of the room :param message: the message to be sent :type barejid: str or unicode :type message: str or unicode :return: the modified or original message to send, or ``None`` to cancel sending of the message :rtype: str or unicode """ pass def prof_post_room_message_send(barejid, message): """Called after a chat room message has been sent :param barejid: Jabber ID of the room :param message: the sent message :type barejid: str or unicode :type message: str or unicode """ pass def prof_on_room_history_message(barejid, nick, message, timestamp): """Called when the server sends a chat room history message :param barejid: Jabber ID of the room :param nick: nickname of the message sender :param message: the message to be sent :param timestamp: time the message was originally sent to the room, in ISO8601 format :type barejid: str or unicode :type nick: str or unicode :type message: str or unicode :type timestamp: str or unicode """ pass def prof_pre_priv_message_display(barejid, nick, message): """Called before a private chat room message is displayed :param barejid: Jabber ID of the room :param nick: nickname of message sender :param message: the received message :type barejid: str or unicode :type nick: str or unicode :type message: str or unicode :return: the new message to display, or ``None`` to preserve the original message :rtype: str or unicode """ pass def prof_post_priv_message_display(barejid, nick, message): """Called after a private chat room message is displayed :param barejid: Jabber ID of the room :param nick: nickname of the message sender :param message: the received message :type barejid: str or unicode :type nick: str or unicode :type message: str or unicode """ pass def prof_pre_priv_message_send(barejid, nick, message): """Called before a private chat room message is sent :param barejid: Jabber ID of the room :param nick: nickname of message recipient :param message: the message to be sent :type barejid: str or unicode :type nick: str or unicode :type message: str or unicode :return: the modified or original message to send, or ``None`` to cancel sending of the message :rtype: str or unicode """ pass def prof_post_priv_message_send(barejid, nick, message): """Called after a private chat room message has been sent :param barejid: Jabber ID of the room :param nick: nickname of the message recipient :param message: the sent message :type barejid: str or unicode :type nick: str or unicode :type message: str or unicode """ pass def prof_on_message_stanza_send(stanza): """Called before an XMPP message stanza is sent :param stanza: The stanza to send :type stanza: str or unicode :return: The new stanza to send, or ``None`` to preserve the original stanza :rtype: str or unicode """ pass def prof_on_message_stanza_receive(stanza): """Called when an XMPP message stanza is received :param stanza: The stanza received :type stanza: str or unicode :return: ``True`` if Profanity should continue to process the message stanza, ``False`` otherwise :rtype: boolean """ pass def prof_on_presence_stanza_send(stanza): """Called before an XMPP presence stanza is sent :param stanza: The stanza to send :type stanza: str or unicode :return: The new stanza to send, or ``None`` to preserve the original stanza :rtype: str or unicode """ pass def prof_on_presence_stanza_receive(stanza): """Called when an XMPP presence stanza is received :param stanza: The stanza received :type stanza: str or unicode :return: ``True`` if Profanity should continue to process the presence stanza, ``False`` otherwise :rtype: boolean """ pass def prof_on_iq_stanza_send(stanza): """Called before an XMPP iq stanza is sent :param stanza: The stanza to send :type stanza: str or unicode :return: The new stanza to send, or ``None`` to preserve the original stanza :rtype: str or unicode """ pass def prof_on_iq_stanza_receive(stanza): """Called when an XMPP iq stanza is received :param stanza: The stanza received :type stanza: str or unicode :return: ``True`` if Profanity should continue to process the iq stanza, ``False`` otherwise :rtype: boolean """ pass def prof_on_contact_offline(barejid, resource, status): """Called when a contact goes offline :param barejid: Jabber ID of the contact :param resource: the resource being disconnected :param status: the status message received with the offline presence, or ``None`` :type barejid: str or unicode :type resource: str or unicode :type status: str or unicode """ pass def prof_on_contact_presence(barejid, resource, presence, status, priority): """Called when a presence notification is received from a contact :param barejid: Jabber ID of the contact :param resource: the resource being disconnected :param presence: presence of the contact, one of ``"chat"``, ``"online"``, ``"away"``, ``"xa"`` or ``"dnd"`` :param status: the status message received with the presence, or ``None`` :param priority: the priority associated with the resource :type barejid: str or unicode :type resource: str or unicode :type presence: str or unicode :type status: str or unicode :type priority: int """ pass def prof_on_chat_win_focus(barejid): """Called when a chat window is focused :param barejid: Jabber ID of the chat window recipient :type barejid: str or unicode """ pass def prof_on_room_win_focus(barejid): """Called when a chat room window is focused :param barejid: Jabber ID of the room :type barejid: str or unicode """ pass