Age | Commit message (Collapse) | Author | Files | Lines |
|
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 || ||
|| || || || || || || ||
|+--------++--------++--------+| |+--------++--------++--------+|
+------------------------------+ +------------------------------+
This layout 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. It allows for instance to center the editor while being able to
keep an eye on background processes (logs, tests, ...).
|
|
dwm's built-in status bar is now only shown when HOLDKEY is pressed. In
addition the bar will now overlay the display. This will work
regardless of the topbar setting. This is meant to be used with the bar
off by default.
None of the togglebar code has been removed, although you might want to
remove the togglebar binding in your config.def.h. The holdbar-modkey
patch (this) is a variant where holdbar is only active when the bar is
toggled off and the holdkey can be the same as the modkey.
This reverts commit 8657affa2a61 ("drawbar: Don't expend effort drawing
bar if it is occluded"). When holdbar is applied, its effect prevents
the bar from ever being drawn. Only a black rectangle appears when the
key is held.
This patch allows HOLDKEY to also be used in place of MODKEY for sending
keystrokes to dwm while simultaneously peeking at the statusbar.
|
|
This is an overhaul of the statusbar appearance, inspired by a
combination of the patches: rearrangebar, taglabels, hide-vacant-tags,
and statusallmons.
The bar layout (from left to right) is now just tag labels, status, and
the layout symbol. However, tag labels are generally larger than usual
and contain the name of the leading client on each tag. The format of
these new labels is controlled by a new option in config.h.
The layout symbol is moved all the way to the far right, per
rearrangebar, however the center area is left clear for the tag labels
to grow into.
statusallmons and hide-vacant-tags work exactly as normal, but are
implemented from scratch in this patch to avoid conflicts.
This patch addresses some oversights by the others in the buttonpress()
function for handling clicks on the statusbar. The logic is updated to
correctly handle the new location of the status and ltsymbol. Tag
labels are stored in the Monitor struct (instead of the original patch's
global variable) so tag clicks can be handled correctly on multimonitor.
This patch is updated to identify any hidden clients opened by the
scratchpadz patch.
|
|
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-.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|