mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-10 22:04:38 -05:00
feat: added themes and other stuff
This commit is contained in:
parent
951928150e
commit
c7b32f0f31
18 changed files with 248 additions and 61 deletions
17
config/themes/default.nix
Executable file
17
config/themes/default.nix
Executable file
|
@ -0,0 +1,17 @@
|
|||
let
|
||||
configPath = ./config;
|
||||
|
||||
themeFunctions = {
|
||||
dummy = [];
|
||||
};
|
||||
|
||||
themes = builtins.listToAttrs (map (name: {
|
||||
name = builtins.substring 0 (builtins.stringLength name - 4) name;
|
||||
value = import (configPath + "/${name}") {inherit themeFunctions;};
|
||||
})
|
||||
(builtins.filter (name:
|
||||
builtins.match ".*\\.nix$" name != null) (builtins.attrNames
|
||||
(builtins.readDir configPath))));
|
||||
in {
|
||||
themes = themes;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue