Commit Graph

193 Commits (fc8434abd1218fc33a4418bcde31cef10c12ede7)
 

Author SHA1 Message Date
bakkeby fc8434abd1 Adding moveplace patch 4 years ago
bakkeby 2cb3e697e4 Adding moveresize patch as per #25 4 years ago
bakkeby df118dc046 Switchtag patch, lose switchtag feature for client if the client is moved to another tag 4 years ago
bakkeby 5e281dcd44 Adding (temporary?) EWMH_WINDOWS_FLOAT_PATCH 4 years ago
bakkeby 57ef22eaba [dwm][patch] setborderpx reset floating windows to previous size 4 years ago
bakkeby 29a06f83a0 [dwm][patch] setborderpx minor code style changes 4 years ago
bakkeby ae5c96c217 Adding link to fix transparent borders diff 4 years ago
bakkeby 5cfaf8357b [dwm][setborderpx] allow borderpixel changes in floating layout and for floating clients 4 years ago
bakkeby 1c6412802e Getting rid of practically unused nbottom variable 4 years ago
bakkeby 0b429b4994 Fibonacci updates 4 years ago
bakkeby ac4c5081c5 Horizgrid pixel perfect updates 4 years ago
bakkeby 443795e3c9 Gridmode pixel perfect updates 4 years ago
bakkeby 174e3260d2 Gappless grid pixel perfect updates 4 years ago
bakkeby 1508d9f274 Fibonacci pixel perfect updates 4 years ago
bakkeby c65315d52f Improved fibonacci layout (pixel perfect) 4 years ago
bakkeby f1bc4e8858 Moving vanitygaps patches to https://github.com/bakkeby/patches/ repository 4 years ago
bakkeby 511fda0088 Removing unnecessary variable when both statuscmd and dwmblocks is used 4 years ago
bakkeby 1a4b3632d1 Removing redundant lastbutton variable when both statuscmd and dwmblocks patches are enabled 4 years ago
bakkeby a6c2fe5668 Adding shiftviewclients files 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 657988fbbf Added the no transparent borders patch 4 years ago
bakkeby f028377c98 Adding dwmblocks patch 4 years ago
bakkeby 5c1e09688f Adding reference to fakefullscreenclient patch 4 years ago
bakkeby b837899f7a Adding option to be able to reverse cycle through flextile-deluxe layouts 4 years ago
bakkeby 0a0222d929 Pertag flextile-deluxe needlessly tied to monitor rules patch 4 years ago
bakkeby c56773c0a0 Missing variable for dragmfact without vanitygaps patch 4 years ago
bakkeby 69a9fe607a Changes to make fibonacci layout arrangement pixel perfect 4 years ago
bakkeby 8aa7a8dafb Changes to make gapplessgrid layout arrangement pixel perfect 4 years ago
bakkeby f7bb7f4403 Updating patch links 4 years ago
bakkeby 5911a9b7d7 Upgrade of the tagmonfixfs patch, allows e.g. fullscreen YouTube videos to be moved to an adjacent screen 4 years ago
bakkeby 904cc5962f No real reason for using Bool here, we use ints everywhere else 4 years ago
bakkeby 14b7edd911 Expanded monitor rules patch to include nmaster, showbar and topbar options. 4 years ago
bakkeby 5848460fff Improved swallow and switchtag compatibility 4 years ago
bakkeby 7c4a0c347f Adding if conditions before freeing res_class and res_name in applyrules 4 years ago
bakkeby 1bed3b0093 drawbar: Don't shadow sw global
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.
4 years ago
bakkeby 2d8d5a0931 getatomprop: Add forward declaration
No functional changes, but for every other function we have a forward
declaration here. getatomprop should be no exception.
4 years ago
bakkeby a84f1b01d2 Adding fix for attachbottom patch 4 years ago
bakkeby 11b47dda99 setmfact: Unify bounds for compile-time and runtime mfact
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.
4 years ago
bakkeby ec32a28380 [dwm][PATCH] statuscolors, fix status text width computation
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.
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 e6f9b592ee Adding reference to dragcfact patch 4 years ago
bakkeby c5e257d442 Simplifying the lose fullscreen patch 4 years ago
bakkeby b3d6a47f4f config.mk: fix POSIX_C_SOURCE macro for feature test for snprintf()
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.
4 years ago
bakkeby 674c00594b Proposed fix for fake fullscreen clients ref. #15 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 32030e4b2c Correcting link to patches.h following move to patches.def.h 4 years ago
bakkeby d9337195f3 Rounded corners patch, add 0 borderpx by default 4 years ago