forked from Shinonome/alt-illogical-impulse
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:
@@ -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" = {
|
||||
|
||||
Reference in New Issue
Block a user