~kris/suckless

dwm

79499ed3fce2932f03ca272e73266bf021ecd20a — Kris Yotam 4 months ago 37ca18f
update config and patch definitions
3 files changed, 7 insertions(+), 2 deletions(-)

M config.def.h
M patches.def.h
M patches.h
M config.def.h => config.def.h +5 -0
@@ 546,6 546,11 @@ static const Rule rules[] = {
	RULE(.instance = "spterm", .tags = SPTAG(0), .isfloating = 1, .isterminal = 1)
	RULE(.instance = "spcalc", .tags = SPTAG(1), .isfloating = 1, .isterminal = 1)
	#endif // SCRATCHPADS_PATCH
	/* Plan 9 widgets: float top-right of primary monitor, mirroring conky on the left */
	#if FLOATPOS_PATCH
	RULE(.class = "faces", .isfloating = 1, .floatpos = "2123X 55Y 380W 80H", .monitor = 0)
	RULE(.class = "stats", .isfloating = 1, .floatpos = "2123X 145Y 380W 300H", .monitor = 0)
	#endif // FLOATPOS_PATCH
};

#if MONITOR_RULES_PATCH

M patches.def.h => patches.def.h +1 -1
@@ 693,7 693,7 @@
 * The size and position can be specified using absolute, relative or fixed co-ordinates and
 * https://github.com/bakkeby/patches/wiki/floatpos/
 */
#define FLOATPOS_PATCH 0
#define FLOATPOS_PATCH 1

/* Add-on functionality for the above: make the float positions respect outer (vanity)gaps. */
#define FLOATPOS_RESPECT_GAPS_PATCH 0

M patches.h => patches.h +1 -1
@@ 693,7 693,7 @@
 * The size and position can be specified using absolute, relative or fixed co-ordinates and
 * https://github.com/bakkeby/patches/wiki/floatpos/
 */
#define FLOATPOS_PATCH 0
#define FLOATPOS_PATCH 1

/* Add-on functionality for the above: make the float positions respect outer (vanity)gaps. */
#define FLOATPOS_RESPECT_GAPS_PATCH 0