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:
parent
1ecfd8e562
commit
5f64bcccef
1 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue