mirror of
https://github.com/celesrenata/end-4-flakes.git
synced 2026-06-17 14:59:58 -05:00
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
|
# 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" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user