You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This is a follow-up on this thread: https://lists.suckless.org/hackers/2208/18462.html The orginal code had constraints such that if a window's starting attributes (position and size) were to place the window outside of the edges of the monitor, then the window would be moved into view at the closest monitor edge. There was an exception to this where if a top bar is used then the window should not obscure the bar if present, which meant to place the window within the window area instead. The proposed change here makes it the general rule that floating windows should spawn within the window area rather than within the monitor area. This makes it simple and consistent with no exceptions and it makes the intention of the code clear. This has the benefit of making the behaviour consistent regardless of whether the user is using a top bar or a bottom bar. Additionally this will have an effect on patches that modify the size of the window area. For example if the insets patch is used to reserve space on the left hand side of the monitor for a dock or a vertical bar then new floating clients will not obscure that area.
|4 days ago|
|LICENSE||4 months ago|
|Makefile||4 years ago|
|README||4 years ago|
|config.def.h||1 year ago|
|config.mk||4 months ago|
|drw.c||3 months ago|
|drw.h||3 months ago|
|dwm.1||2 years ago|
|dwm.c||4 days ago|
|dwm.png||16 years ago|
|transient.c||11 years ago|
|util.c||1 week ago|
|util.h||6 years ago|
dwm - dynamic window manager
dwm is an extremely fast, small, and dynamic window manager for X.
In order to build dwm you need the Xlib header files.
Edit config.mk to match your local setup (dwm is installed into
the /usr/local namespace by default).
Afterwards enter the following command to build and install dwm (if
necessary as root):
make clean install
Add the following line to your .xinitrc to start dwm using startx:
In order to connect dwm to a specific display, make sure that
the DISPLAY environment variable is set correctly, e.g.:
DISPLAY=foo.bar:1 exec dwm
(This will start dwm on display :1 of the host foo.bar.)
In order to display status info in the bar, you can do something
like this in your .xinitrc:
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code.