summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2020-04-23drawbar: Don't shadow sw globalbakkeby
This jarred me a bit while reading the code, since "sw" usually refers to the global screen geometry, but in drawbar() only it refers to text-related geometry. Renaming it makes it more obvious that these are not related.
2020-04-23getatomprop: Add forward declarationbakkeby
No functional changes, but for every other function we have a forward declaration here. getatomprop should be no exception.
2020-04-22Adding fix for attachbottom patchbakkeby
2020-04-20setmfact: Unify bounds for compile-time and runtime mfactbakkeby
There are two places that mfact can be set: - In the mfact global, which is defined at compile time and passed into m->mfact during monitor setup. No bounds checks are performed, but the comment alongside it says that valid values are [0.05..0.95]: static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ - By setmfact, which adjusts m->mfact at runtime. It also does some minimum and maximum bounds checks, allowing [0.1..0.9]. Values outside of that range are ignored, and mfact is not adjusted. These different thresholds mean that one cannot setmfact 0.95 or 0.05, despite the comment above that lists the legal range for mfact. Clarify this by enforcing the same bounds in setmfact at runtime as those listed for mfact at compile time.
2020-04-16[dwm][PATCH] statuscolors, fix status text width computationbakkeby
This is an updated version of the statuscolors patch that fixes the computation of the text width. The previous version of the patch inculded all the byte codes that are used to select the color schemes when computing the width, obaining a width that is larger than the real width. This patch fixes that by adding up the widths of the individual chunks, separated by the codes that select the color schemes.
2020-04-16[dwm][PATCH] Multiple scratchpadsbakkeby
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).
2020-04-13Adding statuscmd patch ref. #23bakkeby
2020-04-09Updating patch location for moved patchesbakkeby
2020-04-06Adding reference to dragcfact patchbakkeby
2020-04-05Simplifying the lose fullscreen patchbakkeby
2020-04-03config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()bakkeby
The feature test was incorrect: _POSIX_C_SOURCE=2 "The value 2 or greater additionally exposes definitions for POSIX.2-1992." http://man7.org/linux/man-pages/man7/feature_test_macros.7.html A higher value is needed (atleast 1995): https://pubs.opengroup.org/onlinepubs/9699919799/functions/snprintf.html FreeBSD feature test macro: on https://github.com/freebsd/freebsd/blob/master/include/stdio.h line 297 This was already fixed in dmenu. This fixes a warning on FreeBSD, reported by Plasmoduck on IRC, thanks.
2020-04-03Proposed fix for fake fullscreen clients ref. #15bakkeby
2020-04-02The Xrender library does not need to be included by default, only include ↵bakkeby
when alpha patch is enabled.
2020-04-02Correcting link to patches.h following move to patches.def.hbakkeby
2020-04-01Rounded corners patch, add 0 borderpx by defaultbakkeby
2020-03-31dragcfact and dragmfact improvementsbakkeby
2020-03-31Adding rounded corners patchbakkeby
2020-03-29[dwm][patch] holdbar: fixed flickering caused by repeated key eventsbakkeby
2020-03-29Making flextile gridmode pixel perfectbakkeby
2020-03-28Adding two new variants of gappless grid to flextile as well as making ↵bakkeby
horizgrid pixel perfect
2020-03-27Adding revamped dragmfact patch ref. #19bakkeby
2020-03-25dragcfact - if the window is floating, then fall back to resizing the window ↵bakkeby
rather than doing nothing, #19
2020-03-25Adding dragcfact patch, ref. #19bakkeby
2020-03-24Removing workaround to ensure that floating master stays on top, ref. #20bakkeby
2020-03-23Removing unwanted and forgotten debug line ref. #20bakkeby
2020-03-23Bug failing to close the last window using the centered floating master ↵bakkeby
layout, ref. #20
2020-03-23Stylingbakkeby
2020-03-23Adding stacker patch as requested ref. #17bakkeby
2020-03-22Update about layout updatesbakkeby
2020-03-22Replacing SchemeSel background for systray with that of SchemeNormbakkeby
2020-03-22Alternative fix which is more in line with the original diff, ref. #18bakkeby
2020-03-22Fix broken client when using systray without the alpha patch, ref. #18bakkeby
2020-03-21Fixing bugs in relation to #12bakkeby
2020-03-20FAKEFULLSCREEN_PATCH takes precedence over the FAKEFULLSCREEN_CLIENT_PATCH, ↵bakkeby
ref. #13
2020-03-20Rewording slave --> stackbakkeby
2020-03-20Layouts - re-distributing remaining pixels after even split to address #12bakkeby
2020-03-07Fix for 0 nmaster for tile layoutbakkeby
2020-03-07Adding option to enable gaps for monocle layout, ref. issue #11bakkeby
2020-03-07Pertag togglegaps change ref. issue #11bakkeby
2020-02-11Adding vtcolors patchbakkeby
2020-02-11Config definition fix for swaptagsbakkeby
2020-02-11Adding swaptags patchbakkeby
2020-02-09Fix for systray flickering ref. #9bakkeby
2020-02-09Feature request to add alternative scratchpad patch by Gaspar Vardanyan ref. #8bakkeby
2020-02-09Fixing overlapping window name area when using barpadding patch ref. #9bakkeby
2020-02-09Fix systray position when barpadding patch is enabled, ref. #9bakkeby
2020-02-02Adding transferall patchbakkeby
2020-02-02Adding fsignal patch and moved dwmc signal settings to config.def.hbakkeby
2020-01-30Fix for undefined reference to getgaps when using only nrowgrid layout with ↵bakkeby
vanitygaps
2020-01-30Fix for undefined reference to getgaps when using only centeredmaster layoutbakkeby