From a13a9352ed12d67d5114c24329bcafa55b6253cd Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Sat, 9 Aug 2025 11:47:29 -0700 Subject: [PATCH] Add touchegg configuration override support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✨ NEW FEATURE: Complete touchegg.conf override capability 🎯 Use Case: - overrides.toucheggConf: Complete touchegg.conf override - Allows custom gesture configuration - Perfect for 3-finger click window dragging 🔧 Implementation: - Added toucheggConf option to config-override.nix - Generates complete touchegg.conf from override content - Follows same pattern as other file overrides --- modules/components/config-override.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/components/config-override.nix b/modules/components/config-override.nix index 7483c28..a86f1a1 100644 --- a/modules/components/config-override.nix +++ b/modules/components/config-override.nix @@ -49,6 +49,16 @@ in ''; }; + toucheggConf = mkOption { + type = types.nullOr types.lines; + default = null; + description = '' + Complete touchegg.conf content. When set, completely overrides: + - Any copied touchegg.conf from source + - Generates the entire file from this content + ''; + }; + # Directory-level overrides hyprDirectory = mkOption { type = types.nullOr types.path; @@ -96,6 +106,11 @@ in "foot/foot.ini".text = cfg.overrides.footConfig; }) + # Touchegg complete override + (mkIf (cfg.overrides.toucheggConf != null) { + "touchegg/touchegg.conf".text = cfg.overrides.toucheggConf; + }) + # Directory overrides (mkIf (cfg.overrides.hyprDirectory != null) { "hypr" = {