These patches provide enhancements for working in a multi-monitor environment.
Adds a small token to the bar that displays the dwm monitor number. The token has a mouse binding, just like the rest of the bar objects.
Provides two wrapper functions that work across all monitors simultaneously. Can change/toggle the view for all monitors, creating a unified workspace.
Function and settings for a "default view", for checking on primary tasks
Per-monitor default settings for nmaster and tags.
which may have been shuffled out of view doing more focused work.
Show/update the status on all bars. Based on
[statusbar on all monitors](//dwm.suckless.org/patches/statusallmons), but uses a configurable boolean.
Each can be applied independently, if desired, except for "reset view" which references "ClkMonNum" from "unified view" in "config.def.h". Simply remove the reference to get it to apply and compile.
Example configuration settings with comments are included in "config.def.h" within each patch.
The default settings and behavior of dwm are not modified by these patches. They provide enhancements and new options only, so there should be minimal conflict with other dwm patches.
Each patch can be applied using "patch -p1" or "git am":
cd dwm; patch -p1 < multimon-1-added-monitor-marker-to-bar.diff
cd dwm; git pull; git am multimon-1-added-monitor-marker-to-bar.diff
There are default settings and bindings in "config.def.h" which you will likely want to customize.
Each of the patches was created by "format-patch" based on commit cdec9782a1789bd5c3a84772fd59abb9da288597.
- multimon-1-added-monitor-marker-to-bar.diff (6228b)
- multimon-2-added-n-view-wrappers-for-unified-multi-monitor.diff (6558b)
- multimon-3-added-reset_view-function.diff (6816b)
- multimon-4-added-statusall-toggle-replacing-need-for-patch.diff (6165b)
The patches are intended to be applied in order, one after the other, but can also be used independently.
- Gary B. Genett - firstname.lastname@example.org
Original Submission: //lists.suckless.org/dev/1403/20488.html