1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

hyprland: tweak submap line formatting

Just want it to look a little more organized

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-09-01 23:41:15 -05:00
parent 1ecfd8e562
commit 5f64bcccef

View file

@ -383,11 +383,12 @@ in
mkSubMap = name: attrs: ''
submap = ${name}
${lib.hm.generators.toHyprconf {
attrs = attrs.settings;
indentLevel = 1;
}}
submap = reset
${
lib.hm.generators.toHyprconf {
attrs = attrs.settings;
indentLevel = 0;
}
}submap = reset
'';
submapsToHyprConf = lib.concatMapAttrsStringSep "\n" mkSubMap;