You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
bakkeby 27b6b4b024 Adding focusonnetactive and losefullscreen patches 5 years ago
patch Adding autostart patch 5 years ago
.gitignore Adding alpha patch 5 years ago
LICENSE Adding alpha patch 5 years ago
Makefile Adding alpha patch 5 years ago
README Adding alpha patch 5 years ago
README.md Adding focusonnetactive and losefullscreen patches 5 years ago
config.def.h Adding tagallmon and tagswapmon patches 5 years ago
config.mk Adding alpha patch 5 years ago
drw.c Adding README.md 5 years ago
drw.h Adding alpha patch 5 years ago
dwm.1 Adding alpha patch 5 years ago
dwm.c Adding focusonnetactive and losefullscreen patches 5 years ago
dwm.png Adding alpha patch 5 years ago
patches.h Adding focusonnetactive and losefullscreen patches 5 years ago
transient.c Adding alpha patch 5 years ago
util.c Adding alpha patch 5 years ago
util.h Adding alpha patch 5 years ago

README.md

This side project has a different take on dwm patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched and the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more.

For example to include the alpha patch then you would only need to flip this setting from 0 to 1 in patches.h:

#define ALPHA_PATCH 1

Refer to https://dwm.suckless.org/ for details on the dwm window manager, how to install it and how it works.


Changelog:

2019-09-06 - Added attachabove, attachaside, attachbelow, attachbottom, autostart, fancybar, focusonnetactive and losefullscreen patches

2019-09-05 - Alpha, systray, togglefullscreen, tagallmon, tagmonfixfs, tagswapmon, pertag and zoomswap patches added

Patches included:

  • alpha

    • adds transparency for the status bar
  • attachabove

    • new windows are placed above selected client
  • attachaside

    • new windows are placed on top of the stack
  • attachbelow

    • new windows are placed below selected client
  • attachbottom

    • new windows are placed at the bottom of the stack
  • autostart

    • makes dwm run ~/.dwm/autostart_blocking.sh and ~/.dwm/autostart.sh & on startup
  • fancybar

    • shows the titles of all visible windows in the status bar
  • focusonnetactive

    • by default, dwm responds to _NET_ACTIVE_WINDOW client messages by setting the urgency bit on the named window
    • this patch activates the window instead
  • losefullscreen

    • by default in dwm it is possible to make an application fullscreen, then use the focusstack keybindings to focus on other windows beneath the current window
    • it is also possible to spawn new windows (e.g. a terminal) that end up getting focus while the previous window remains in fullscreen
    • this patch ensures that in such scenarios the previous window loses fullscreen
  • pertag

    • adds nmaster, mfact, layouts and more per tag rather than per monitor
  • systray

    • adds system tray in the status bar
  • tagallmon

    • move all visible windows to an adjacent monitor
  • tagmonfixfs

    • allows moving a fullscreen window to another monitor while remaining in fullscreen
  • tagswapmon

    • swap all visible windows on one monitor with those of an adjacent monitor
  • togglefullscreen

    • allows you to toggle fullscreen on and off using a single shortcut key
  • zoomswap

    • allows a master and a stack window to swap places rather than every window on the screen changing position