Add touchegg configuration override support

 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
This commit is contained in:
Celes Renata
2025-08-09 11:47:29 -07:00
parent 666700409a
commit a13a9352ed
+15
View File
@@ -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 # Directory-level overrides
hyprDirectory = mkOption { hyprDirectory = mkOption {
type = types.nullOr types.path; type = types.nullOr types.path;
@@ -96,6 +106,11 @@ in
"foot/foot.ini".text = cfg.overrides.footConfig; "foot/foot.ini".text = cfg.overrides.footConfig;
}) })
# Touchegg complete override
(mkIf (cfg.overrides.toucheggConf != null) {
"touchegg/touchegg.conf".text = cfg.overrides.toucheggConf;
})
# Directory overrides # Directory overrides
(mkIf (cfg.overrides.hyprDirectory != null) { (mkIf (cfg.overrides.hyprDirectory != null) {
"hypr" = { "hypr" = {