From 79499ed3fce2932f03ca272e73266bf021ecd20a Mon Sep 17 00:00:00 2001 From: Kris Yotam <75515498+krisyotam@users.noreply.github.com> Date: Sun, 17 May 2026 19:03:51 -0500 Subject: [PATCH] update config and patch definitions --- config.def.h | 5 +++++ patches.def.h | 2 +- patches.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index c0431648bebcfb4743ee66fa27684892f9c196f1..d183f25a66663448352513f4f25040fe66c04b29 100644 --- a/config.def.h +++ b/config.def.h @@ -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 diff --git a/patches.def.h b/patches.def.h index be22595520e8383113df90d8e54915257476d5fa..57cda42f1ccb38ef75191e3f6e97579b5407b9dc 100644 --- a/patches.def.h +++ b/patches.def.h @@ -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 diff --git a/patches.h b/patches.h index 278fc2d834f3921561a0e857e3566ffcb46a3099..96bdfba4d67e5e3a14d88c6bf308e65dd84e6fcf 100644 --- a/patches.h +++ b/patches.h @@ -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