Commit Graph

195 Commits (master)

Author SHA1 Message Date
bakkeby cac3e7d2c9 Rule macro improvements + rule macro helper macros 4 years ago
bakkeby a7b226de41 Make EWMH windows float
Move updatewindowtype() functionality into applyrules(), and also make
following EWMH windows float: DIALOG, UTILITY, TOOLBAR, SPLASH.

This is taking the proposed patch to add window type to the rule matching
options for dwm, allowing dialog, utility, toolbar and splash windows
to be configured to float by default.

This patch is intended to be merged into the main dwm build.

In effect the intermediate EWMH_WINDOWS_FLOAT_PATCH has also been removed.
4 years ago
bakkeby 6f20203975 Added RULE macro to replace rules setup making the default config less of an abomination and making it simpler to include new rules based patches 4 years ago
bakkeby 8c4eaccf16 Adding pango patch (ref. #10)
Text from original patch:

Using pango markup for status text

Use a single font. Removed some code utf8 code from drw.
Created for pango 1.44. Older versions might not have getter
for font height, ascent + descent can be used instead.
All texts are rendered with pango but only status is with
markup. Increased stext size (in case a lot of markup is used).
MIN/MAX is already defined (didn't redefine them).
4 years ago
bakkeby 164095db40 Adding staticstatus patch 4 years ago
bakkeby 6321b52a30 Renamed SCRATCHPAD_PATCH --> SCRATCHPADS_PATCH to match the naming of the suckless patches as the multiple scratchpads patch has its own location now 4 years ago
bakkeby bad53d2cc4 Upgrading Gaspar Vardanyan's scratchpad patch to the 20200510 version.
https://github.com/GasparVardanyan/dwm-scratchpad/blob/master/dwm-scratchpad-20200510-f09418b.diff
4 years ago
bakkeby d7814e3a3e dwmc: Adding external control to set gaps 4 years ago
Stein Gunnar Bakkeby 8c419b0d7a Expanding on dwmc options 4 years ago
bakkeby af96d4c358 Adding keymodes patch 4 years ago
bakkeby e79aec52c2 Adding status2d patch 4 years ago
bakkeby fc8434abd1 Adding moveplace patch 4 years ago
bakkeby 2cb3e697e4 Adding moveresize patch as per #25 4 years ago
bakkeby 91291ceb9f Removing redundant statuscmds logic when both statuscmd and dwmblocks patches are applied 4 years ago
bakkeby 75d5f1e0c5 Adding shiftview patch 4 years ago
bakkeby f028377c98 Adding dwmblocks patch 4 years ago
bakkeby b837899f7a Adding option to be able to reverse cycle through flextile-deluxe layouts 4 years ago
bakkeby 14b7edd911 Expanded monitor rules patch to include nmaster, showbar and topbar options. 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 d9337195f3 Rounded corners patch, add 0 borderpx by default 4 years ago
bakkeby a560b9cb53 Adding rounded corners patch 4 years ago
bakkeby e9e32d28c7 Adding revamped dragmfact patch ref. #19 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 4b45c6071f Adding vtcolors patch 4 years ago
bakkeby 9ef44a0bc1 Config definition fix for swaptags 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
bakkeby 83a7b16a86 Adding inplacerotate patch 4 years ago
bakkeby 7d107ce8eb Adding dmenumatchtop patch 5 years ago
bakkeby 9b85650c1d Adding fakefullscreeenclient patch 5 years ago
bakkeby 42b66d4b29 Addressed some conflicts between CMDCUSTOMIZE and NODMENU patches as well as between EXRESIZE and MAXIMIZE patches 5 years ago
bakkeby 2112ea927f Adding exresize patch 5 years ago
bakkeby d82be5a65d Adding nodmenu patch 5 years ago
bakkeby 4052783a63 Adding extrabar patch 5 years ago
bakkeby 3726d8d1ea Adding swallow patch 5 years ago
bakkeby 71e61d180e Adding ispermanent patch 5 years ago
bakkeby 2eb8bcdf15 Adding scratchpad patch 5 years ago
bakkeby ed1c509df3 Adding mdpcontrol patch 5 years ago
bakkeby b32fe221b6 Adding columns layout 5 years ago
bakkeby 83242012da Fixed minor cross-compatibility issues for combo, holdbar, leftlayout, hidevacanttags, taggrid and activetagindicatorbar 5 years ago
bakkeby fc28c6a7b2 Adding statuscolors patch 5 years ago
bakkeby 15a4c58924 Adding taggrid patch 5 years ago
bakkeby b6928ab1fb Adding killunsel patch 5 years ago
bakkeby a25d00eb00 Adding tagall patch 5 years ago
bakkeby e0a21f0869 Adding movestack patch 5 years ago
bakkeby 2de0c0e307 Adding maximize patch 5 years ago
bakkeby 40000bba1c Adding quitonlyonempty patch and made monocle layout position configurable for fullscreen and warp patches 5 years ago
bakkeby 9ebd9c8397 Adding focusurgent patch 5 years ago
bakkeby 1f21ed72d1 Adding focusadjacenttag patch 5 years ago
bakkeby 0a23ed6efd Adding restartsig and emptyview patches 5 years ago
bakkeby 37b1b54ab9 Adding fullscreen, holdbar and unfloatvisible patches 5 years ago
bakkeby 009819e186 Replaced flextile with flextile-deluxe, refactored monitor rules to support predetermined layouts per tag 5 years ago
bakkeby aee6e0edf6 Adding focusonclick patch 5 years ago
bakkeby dc5d77e95f Adding urgentborder patch 5 years ago
bakkeby f60b0b5121 Adding winview patch 5 years ago
bakkeby f8f67508d8 Adding xrdb patch 5 years ago
bakkeby 30e0a3b5e4 Adding sticky and warp patches 5 years ago
bakkeby 713c4e6197 Adding push no master variant patch 5 years ago
bakkeby 70012dbf2c Adding selfrestart patch 5 years ago
bakkeby 5501f81b9c Adding setborderpx patch 5 years ago
bakkeby 39e161e545 Adding push patch 5 years ago
bakkeby c5b830e6ab Adding titlecolor patch 5 years ago
bakkeby 9e17c55d95 Adding ewmhtags patch 5 years ago
bakkeby 706e06be43 Adding combo patch 5 years ago
bakkeby e89f262323 Adding monitor rules patch 5 years ago
bakkeby 5d33aebaaf Adding float border color patch 5 years ago
bakkeby d0757568ee Minor tweaks to awesomebar patch (incl. alpha and systray compatibility) 5 years ago
bakkeby d6517bf4f8 Adding awesomebar patch 5 years ago
bakkeby 4a17b880ad Adding alternativetags patch 5 years ago
bakkeby 1552bf22c0 Indentation / tidying 5 years ago
bakkeby 20872921bc Adding flextile patch 5 years ago
bakkeby 637cc50dda Adding centered master patches 5 years ago
bakkeby 973d64f51b Adding nrowgrid layout 5 years ago
bakkeby 342fc03b88 Adding horizgrid and gridmode layouts 5 years ago
bakkeby cccb8fcecb Adding fibonacci layout 5 years ago
bakkeby 7da1b17169 Adding deck layout 5 years ago
bakkeby e490af0eb2 Adding cfacts, vanitygaps patches and bottomstack layouts 5 years ago
bakkeby 747512af21 Adding center patch 5 years ago
bakkeby 8a71375fed Adding windowrolerule patch 5 years ago
bakkeby c356be36b9 Adding statuspadding patch 5 years ago
bakkeby 7c23a59c38 Adding rotatestack patch 5 years ago
bakkeby 9ccc131284 Adding cyclelayouts patch 5 years ago
bakkeby ab6eb60657 Adding tagallmon and tagswapmon patches 5 years ago
bakkeby 448f8db4c2 Adding togglefullscreen patch 5 years ago
bakkeby cba0991170 Adding systray patch 5 years ago
bakkeby c34c536f3e Adding alpha patch 5 years ago