Age | Commit message (Collapse) | Author | Files | Lines |
|
Set basic format and limit master window title to 55 chars, to prevent
the overall format from being truncated.
|
|
Displays the executable name of each tag's current master client after
the tag name in the dwm bar.
For example, if st is the master client on tag 1, then the bar
would display [1: st] as opposed to just 1.
The format of the label, for both non-empty and empty tags, is
configurable through the configuration variables ptagf and etagf
respectively. There is also a config variable, lcaselbl, that, when
enabled, makes the first letter lowercase (out of personal preference).
This is a modified version of the taglabels patch that, rather than
using the window class (executable name) of the master client, uses the
actual window title for each tag's label.
|
|
This patch adds "window swallowing" to dwm as known from Plan 9's
windowing system rio.
Clients marked with isterminal in config.h swallow a window opened by
any child process, e.g. running xclock in a terminal. Closing the xclock
window restores the terminal window in the current position.
This patch helps users spawning a lot of graphical programs from their
command line by avoiding cluttering the screen with many unusable
terminals. Being deep down in a directory hierarchy just does not make
the use of dmenu feasible.
Dependencies
* libxcb
* Xlib-libxcb
* xcb-res
These dependencies are needed due to the use of the latest revision of
the X Resource Extension which is unsupported in vanilla Xlib.
Notes:
* The window swallowing functionality requires dwm to walk the process
tree, which is an inherently OS-specific task. Only Linux and FreeBSD
are supported at this time. Please contact one of the authors if you
would like to help expand the list of supported operating systems.
* Only terminals created by local processes can swallow windows, and
only windows created by local processes can be swallowed.
|
|
The scratchpad patch allows you to spawn or restore a floating terminal
window. It is usually useful to have one to do some short typing.
A tool like detach (http://detach.sourceforge.net) turns it into a
launchpad for X applications.
By default your terminal (st) is used, and the default key binding is
MODKEY+XK_grave. A config.def.h change is included in the patch.
|
|
Resets the layout and mfact if there is only one client visible. This
is an edited patch that also resets nmaster to its default value as
well.
This applies cleanly to vanilla dwm, but is mostly only useful alongside
the pertag patch, since otherwise all layouts and mfacts will be reset.
You can also set a binding to trigger this on demand, see the new call
to resetlayout in config.def.h.
|
|
pushup and pushdown provide a way to move clients inside the clients
list.
|
|
This patch adds an extra layout mode to dwm called grid in which the
windows are arranged in a grid of equal sizes. It comes in very handy,
especially with tools that operate on multiple windows at once; e.g.
Cluster SSH.
The patch would look a lot uglier without Jukka Salmi's constant help.
Thanks Jukka :-)
|
|
This patch adds an extra layout to dwm called col in which the windows
in the master area are arranged in colums of equal size. The number of
columns is always nmaster + 1, and the last column is a stack of
leftover windows just like the normal tile layout. It effectively acts
like the default tiling mode, except provides for vertical instead of
horizontal master windows.
|
|
centeredmaster and centeredfloatingmaster are two stack layouts for dwm.
centeredmaster centers the nmaster area on screen, using mfact * monitor
width & height, with the stacked windows distributed to the left and
right. It can be selected with [Alt]+[u].
With one and two clients in master respectively this results in:
+------------------------------+ +------------------------------+
|+--------++--------++--------+| |+--------++--------++--------+|
|| || || || || || || ||
|| || || || || || M1 || ||
|| || || || || || || ||
|| S2 || M || S1 || || |+--------+| ||
|| || || || || |+--------+| ||
|| || || || || || || ||
|| || || || || || M2 || ||
|| || || || || || || ||
|+--------++--------++--------+| |+--------++--------++--------+|
+------------------------------+ +------------------------------+
centeredfloatingmaster centers the nmaster area on screen, using mfact *
monitor width & height over a horizontally tiled stack area, comparable
to a scratchpad. It can be selected with [Alt]+[o].
With one and two clients in master respectively this results in:
+------------------------------+ +------------------------------+
|+--------++--------++--------+| |+--------++--------++--------+|
|| || || || || || || ||
|| +------------------+ || || +--------++--------+ ||
|| | | || || | || | ||
|| | | || || | || | ||
|| | M | || || | M1 || M2 | ||
|| | | || || | || | ||
|| +------------------+ || || +--------++--------+ ||
|| || || || || || || ||
|+--------++--------++--------+| |+--------++--------++--------+|
+------------------------------+ +------------------------------+
These stack layouts can be useful on large screens, where monocle or
htile might be either too large or forcing the user to type in a corner
of the screen. They allow for instance to center the editor while being
able to keep an eye on background processes (logs, tests,...)
|
|
Only allow clients to "fullscreen" into space currently given to them.
As an example, this will allow you to view a fullscreen video in your
browser on one half of the screen, while having the other half available
for other tasks.
|
|
dwm will automatically hide the monitor's statusbar when only 1 tag is
being utilized (viewing an empty tag counts as 'utilization').
The hotkey for controlling visibility manually is removed, and all
monitors default to statusbar hidden at startup (since no clients would
be active).
|
|
Allow dwm to have translucent bars, while keeping all the text on it
opaque, just like the alpha-patch for st.
Fix transparent borders
-----------------------
By default dwm might make windows' borders transparent when using
composit window manager (e.g. xcompmgr, picom). Alpha patch allows to
make borders opaque.
If all you want is to make borders opaque, you don't care about
statusbar opacity and/or have problems applying alpha patch, then you
might use fixborders patch instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This reverts commit c2b748e7931e5f28984efc236f9b1a212dbc65e8.
Revert back this change. It seems to not be an edge-case anymore since
multiple users have asked about this new behaviour now.
|
|
Reasoning: Since 2011 dmenu has been capable of working out which
monitor currently has focus in a Xinerama setup, making the use
of the -m flag more or less redundant.
This is easily demonstrated by using dmenu in any other window
manager.
There used to be a nodmenu patch that provided these changes:
https://git.suckless.org/sites/commit/ed68e3629de4ef2ca2d3f8893a79fb570b4c0cbc.html
but this was removed on the basis that it was very easy to work
out and apply manually if needed.
The proposal here is to remove this dependency from dwm. The
mechanism of the dmenumon variable could be provided via a patch
if need be.
The edge case scenario that dmenu does not handle on its own, and
the effect of removing this mechanism, is that if the user trigger
focusmon via keybindings to change focus to another monitor that
has no clients, then dmenu will open on the monitor containing the
window with input focus (or the monitor with the mouse cursor if
no windows have input focus).
If this edge case is important to cover then this can be addressed
by setting input focus to selmon->barwin in the focus function if
there is no client to give focus to (rather than giving focus back
to the root window).
|
|
pretty much all other variables are declared as const when they're not
modified.
|
|
Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
|
|
by Christopher Drelich <cd@cdrakka.com>
Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
|
|
- unify multi-line expression alignment style.
- unify multi-line function call alignment style.
- simplify client moving on monitor count decrease.
- clarify comment for focusin().
- remove old confusing comment about input focus fix in focusmon(). The
explanation is already in the old commit message, so no need to keep it in the
code.
- remove old comment describing even older state of the code in focus().
- unify comment style.
- break up some long lines.
- fix some typos and grammar.
|
|
|
|
|
|
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
|
|
|
|
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
|
|
dmenu uses Xft now (soon to be released).
|
|
|
|
from dwm, no dmenuspawn required
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a bit
|
|
|
|
|
|
|
|
|
|
|
|
shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-.
|
|
|
|
|