Compare commits
81 Commits
Author | SHA1 | Date | |
---|---|---|---|
450b08dde2 | |||
da80487c07 | |||
d9779c06fc | |||
20996c6c5a | |||
8dc9fcf1b9 | |||
fc21dd4b7e | |||
758b100d12 | |||
8420fb1ced | |||
f6128a16f9 | |||
87526be6f0 | |||
565050ac51 | |||
5e408d8ff6 | |||
1724f7fa43 | |||
3e6fe6b541 | |||
6620615ab9 | |||
61c3095f2f | |||
a72dc2fec2 | |||
8b17f5517b | |||
cd96232f7e | |||
a9e145fe6d | |||
5dd92c7655 | |||
52bd69c2a4 | |||
ca376970db | |||
8352f2b3a8 | |||
d4bfde79f3 | |||
7ac8c1d4e1 | |||
16e1ef5d40 | |||
1d729384d1 | |||
25c1eb28f9 | |||
d719cc9a0e | |||
9cde6570cc | |||
e408ca97d8 | |||
183dc670a3 | |||
25947bcfdb | |||
1ddfc571ae | |||
21cd59a630 | |||
6cbe47d481 | |||
029655bb22 | |||
27db9d4448 | |||
176408afa8 | |||
64674c395b | |||
b9dee2c6f1 | |||
a73ff905b0 | |||
e3f0445df1 | |||
ab06f7444b | |||
a2a3590979 | |||
e8aafb8e91 | |||
18b1312449 | |||
80ee95473b | |||
454a04acdf | |||
891831fe62 | |||
cdb8e27453 | |||
5c4913e983 | |||
fa5ae54bbb | |||
7de534192c | |||
54dc0d542c | |||
913333f518 | |||
d702f39274 | |||
0d8671a5ad | |||
38e9b67026 | |||
a3bbdb1b7b | |||
d53ceee682 | |||
78f56672b5 | |||
c2fff604a7 | |||
6644a6aa2e | |||
3da2453997 | |||
2ce37bc69e | |||
f27ccc5c60 | |||
2dbfda72f0 | |||
7df39f3fc7 | |||
0b45199cec | |||
3632d7132f | |||
565697087b | |||
ea0008cba2 | |||
af508c2e82 | |||
f0d1d5206f | |||
1c80c05587 | |||
1e350be229 | |||
1a26389e2b | |||
bf9da23f07 | |||
2373940215 |
2
.hgtags
2
.hgtags
@ -59,3 +59,5 @@ e4bcaca8e6ef13d2c3b81f1218ad15e5da4d68bd 5.2
|
||||
4004d61160355d869a7d2672561caad440751ba0 5.3
|
||||
335301ed102fec9b1a15d06bfa0184d53b38fa54 5.3.1
|
||||
8b7836a471f8f9ee61bec980df00971888d76343 5.4
|
||||
85a78d8afa0fe8b106a8223b5327e5bddb5dd5e3 5.4.1
|
||||
deaa276abac17ca08fbeb936916e4c8292d293a4 5.5
|
||||
|
7
LICENSE
7
LICENSE
@ -3,13 +3,14 @@ MIT/X Consortium License
|
||||
© 2006-2009 Anselm R Garbe <garbeam at gmail dot com>
|
||||
© 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
|
||||
© 2006-2007 Jukka Salmi <jukka at salmi dot ch>
|
||||
© 2007 Premysl Hruby <dfenze at gmail dot com>
|
||||
© 2007 Szabolcs Nagy <nszabolcs at gmail dot com>
|
||||
© 2007 Christof Musik <christof at sendfax dot de>
|
||||
© 2007-2009 Premysl Hruby <dfenze at gmail dot com>
|
||||
© 2007-2009 Szabolcs Nagy <nszabolcs at gmail dot com>
|
||||
© 2007-2009 Christof Musik <christof at sendfax dot de>
|
||||
© 2007-2008 Enno Gottox Boland <gottox at s01 dot de>
|
||||
© 2007-2008 Peter Hartlich <sgkkr at hartlich dot com>
|
||||
© 2008 Martin Hurton <martin dot hurton at gmail dot com>
|
||||
© 2008 Neale Pickett <neale dot woozle dot org>
|
||||
© 2009 Mate Nagy <mnagy@port70.net>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
|
33
config.def.h
33
config.def.h
@ -1,35 +1,32 @@
|
||||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
/* appearance */
|
||||
static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
|
||||
static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
|
||||
static const char normbordercolor[] = "#cccccc";
|
||||
static const char normbgcolor[] = "#cccccc";
|
||||
static const char normfgcolor[] = "#000000";
|
||||
static const char selbordercolor[] = "#0066ff";
|
||||
static const char selbgcolor[] = "#0066ff";
|
||||
static const char selfgcolor[] = "#ffffff";
|
||||
static unsigned int borderpx = 1; /* border pixel of windows */
|
||||
static unsigned int snap = 32; /* snap pixel */
|
||||
static Bool showbar = True; /* False means no bar */
|
||||
static Bool topbar = True; /* False means bottom bar */
|
||||
static Bool usegrab = False; /* True means grabbing the X server
|
||||
during mouse-based resizals */
|
||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||
static const unsigned int snap = 32; /* snap pixel */
|
||||
static const Bool showbar = True; /* False means no bar */
|
||||
static const Bool topbar = True; /* False means bottom bar */
|
||||
|
||||
/* tagging */
|
||||
static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
|
||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
|
||||
static Rule rules[] = {
|
||||
/* class instance title tags mask isfloating */
|
||||
{ "Gimp", NULL, NULL, 0, True },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, True },
|
||||
static const Rule rules[] = {
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, True, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, False, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
static float mfact = 0.55; /* factor of master area size [0.05..0.95] */
|
||||
static Bool resizehints = True; /* False means respect size hints in tiled resizals */
|
||||
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
|
||||
static const Bool resizehints = True; /* False means respect size hints in tiled resizals */
|
||||
|
||||
static Layout layouts[] = {
|
||||
static const Layout layouts[] = {
|
||||
/* symbol arrange function */
|
||||
{ "[]=", tile }, /* first entry is default */
|
||||
{ "><>", NULL }, /* no layout function means floating behavior */
|
||||
@ -70,6 +67,10 @@ static Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
||||
{ MODKEY, XK_0, view, {.ui = ~0 } },
|
||||
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
|
||||
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
|
||||
{ MODKEY, XK_period, focusmon, {.i = +1 } },
|
||||
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
|
||||
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
|
||||
TAGKEYS( XK_1, 0)
|
||||
TAGKEYS( XK_2, 1)
|
||||
TAGKEYS( XK_3, 2)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# dwm version
|
||||
VERSION = 5.4.1
|
||||
VERSION = 5.6
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
|
||||
X11LIB = /usr/X11R6/lib
|
||||
|
||||
# Xinerama, un-comment if you want it
|
||||
#XINERAMALIBS = -L${X11LIB} -lXinerama
|
||||
#XINERAMAFLAGS = -DXINERAMA
|
||||
XINERAMALIBS = -L${X11LIB} -lXinerama
|
||||
XINERAMAFLAGS = -DXINERAMA
|
||||
|
||||
# includes and libs
|
||||
INCS = -I. -I/usr/include -I${X11INC}
|
||||
@ -20,7 +20,9 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
||||
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
||||
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||
#LDFLAGS = -g ${LIBS}
|
||||
LDFLAGS = -s ${LIBS}
|
||||
|
||||
# Solaris
|
||||
|
29
dwm.1
29
dwm.1
@ -19,11 +19,12 @@ layout applied.
|
||||
Windows are grouped by tags. Each window can be tagged with one or multiple
|
||||
tags. Selecting certain tags displays all windows with these tags.
|
||||
.P
|
||||
dwm contains a small status bar which displays all available tags, the layout,
|
||||
the title of the focused window, and the text read from the root window name
|
||||
property. A floating window is indicated with an empty square and a maximised
|
||||
floating window is indicated with a filled square before the windows title.
|
||||
The selected tags are indicated with a different color. The tags of the focused
|
||||
Each screen contains a small status bar which displays all available tags, the
|
||||
layout, the number of visible windows, the title of the focused window, and the
|
||||
text read from the root window name property, if the screen is focused. A
|
||||
floating window is indicated with an empty square and a maximised floating
|
||||
window is indicated with a filled square before the windows title. The
|
||||
selected tags are indicated with a different color. The tags of the focused
|
||||
window are indicated with a filled square in the top left corner. The tags
|
||||
which are applied to one or more windows are indicated with an empty square in
|
||||
the top left corner.
|
||||
@ -57,6 +58,18 @@ click on a tag label adds/removes that tag to/from the focused window.
|
||||
Start
|
||||
.BR xterm.
|
||||
.TP
|
||||
.B Mod1\-,
|
||||
Focus previous screen, if any.
|
||||
.TP
|
||||
.B Mod1\-.
|
||||
Focus next screen, if any.
|
||||
.TP
|
||||
.B Mod1\-Shift\-,
|
||||
Send focused window to previous screen, if any.
|
||||
.TP
|
||||
.B Mod1\-Shift\-,
|
||||
Send focused window to next screen, if any.
|
||||
.TP
|
||||
.B Mod1\-b
|
||||
Toggles bar on and off.
|
||||
.TP
|
||||
@ -140,12 +153,6 @@ code. This keeps it fast, secure and simple.
|
||||
.SH SEE ALSO
|
||||
.BR dmenu (1)
|
||||
.SH BUGS
|
||||
The status bar may display
|
||||
.BR "EOF"
|
||||
when dwm has been started by an X session manager like
|
||||
.BR xdm (1),
|
||||
because those close standard output before executing dwm.
|
||||
.P
|
||||
Java applications which use the XToolkit/XAWT backend may draw grey windows
|
||||
only. The XToolkit/XAWT backend breaks ICCCM-compliance in recent JDK 1.5 and early
|
||||
JDK 1.6 versions, because it assumes a reparenting window manager. As a workaround
|
||||
|
Reference in New Issue
Block a user