Commit Graph

21 Commits (5cfaf8357b75c5d4a96c1c3fe2644271c13e0c61)

Author SHA1 Message Date
bakkeby 75d5f1e0c5 Adding shiftview patch 4 years ago
bakkeby 657988fbbf Added the no transparent borders patch 4 years ago
bakkeby f028377c98 Adding dwmblocks patch 4 years ago
bakkeby f9a001dee7 [dwm][PATCH] Multiple scratchpads
This patch enables multiple scratchpads, each with one assigned window.
This enables the same scratchpad workflow that you have in i3.

Scratchpads are implemented as special tags, whose mask does not
apply to new spawned windows. To assign a window to a scratchpad you
have to set up a rule, as you do with regular tags.

Windows tagged with scratchpad tags can be set floating or not in the
rules array. Most users would probably want them floating (i3 style),
but having them tiled does also perfectly work and might fit better the
DWM approach. In case they are set floating, the patch moves them to the
center of the screen whenever the are shown. The patch can easily be
modified to make this last feature configurable in the rules array (see
the center patch).

The togglescratch function, borrowed from the previous scratchpad patch
and slightly modified, can be used to spawn a registered scratchpad
process or toggle its view. This function looks for a window tagged on
the selected scratchpad. If it is found its view is toggled. If it is
not found the corresponding registered command is spawned. The
config.def.h shows three examples of its use to spawn a terminal in the
first scratchpad tag, a second terminal running ranger on the second
scratchpad tag and the keepassxc application to manage passwords on a
third scratchpad tag.

If you prefer to spawn your scratchpad applications from the startup
script, you might opt for binding keys to toggleview instead, as
scratchpads are just special tags (you may even extend the TAGKEYS macro
to generalize the key bindings).
4 years ago
bakkeby 525dc0d107 Adding statuscmd patch ref. #23 4 years ago
bakkeby d258c3bb69 Updating patch location for moved patches 4 years ago
bakkeby 9440e76936 The Xrender library does not need to be included by default, only include when alpha patch is enabled. 4 years ago
bakkeby a560b9cb53 Adding rounded corners patch 4 years ago
bakkeby 32d3d2b7c3 Adding dragcfact patch, ref. #19 4 years ago
bakkeby 7bc3cf765e Adding stacker patch as requested ref. #17 4 years ago
bakkeby 873b856428 FAKEFULLSCREEN_PATCH takes precedence over the FAKEFULLSCREEN_CLIENT_PATCH, ref. #13 4 years ago
bakkeby 58ab50845d Adding option to enable gaps for monocle layout, ref. issue #11 4 years ago
bakkeby 4b45c6071f Adding vtcolors patch 4 years ago
bakkeby 90a848d608 Adding swaptags patch 4 years ago
bakkeby ed20fd9c61 Feature request to add alternative scratchpad patch by Gaspar Vardanyan ref. #8 4 years ago
bakkeby 6de03c1735 Adding transferall patch 4 years ago
bakkeby 4ddfdab30e Adding fsignal patch and moved dwmc signal settings to config.def.h 4 years ago
bakkeby d644c89c74 Added shiftview patch 4 years ago
bakkeby 5e75da8dd1 Adding swapfocus patch 4 years ago
bakkeby 84b0361b65 Adding transfer patch 4 years ago
bakkeby b866bf5319 Adding barpadding patch and moving patches.h to paches.def.h 4 years ago