feat(system): comprehensive branding, styling, and system feature update
- Relocate themes to assets/themes/ and update all references. - Implement custom SDDM theme and Plymouth theme enhancements. - Add themed templates for Alacritty, Hyprland, Waybar, and other apps. - Introduce Makima key remapper module and configuration. - Add Voxtype and Walker configurations. - Implement systemd power management and timeout optimizations. - Add Nautilus-python extensions for LocalSend. - Update branding assets and ASCII art integration.
This commit is contained in:
44
assets/themes/nomarchy-palettes.nix
Normal file
44
assets/themes/nomarchy-palettes.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
let
|
||||
themesDir = ./.;
|
||||
|
||||
# Get all directories in the themes folder that have a colors.toml file
|
||||
allEntries = builtins.readDir themesDir;
|
||||
directories = builtins.filter (name:
|
||||
allEntries.${name} == "directory" && builtins.pathExists (themesDir + "/${name}/colors.toml")
|
||||
) (builtins.attrNames allEntries);
|
||||
|
||||
readTheme = name:
|
||||
let
|
||||
toml = builtins.fromTOML (builtins.readFile (themesDir + "/${name}/colors.toml"));
|
||||
|
||||
# Helper to strip '#' from color codes
|
||||
stripHash = s: builtins.replaceStrings ["#"] [""] s;
|
||||
|
||||
in {
|
||||
inherit name;
|
||||
author = "nomarchy";
|
||||
palette = {
|
||||
base00 = stripHash toml.background;
|
||||
base01 = stripHash toml.color0;
|
||||
base02 = stripHash toml.color8;
|
||||
base03 = stripHash toml.color8;
|
||||
base04 = stripHash toml.color7;
|
||||
base05 = stripHash toml.foreground;
|
||||
base06 = stripHash toml.color15;
|
||||
base07 = stripHash toml.color15;
|
||||
base08 = stripHash toml.color1;
|
||||
base09 = stripHash toml.color3;
|
||||
base0A = stripHash toml.color3;
|
||||
base0B = stripHash toml.color2;
|
||||
base0C = stripHash toml.color6;
|
||||
base0D = stripHash toml.color4;
|
||||
base0E = stripHash toml.color5;
|
||||
base0F = stripHash toml.color1;
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
builtins.listToAttrs (map (name: {
|
||||
inherit name;
|
||||
value = readTheme name;
|
||||
}) directories)
|
||||
Reference in New Issue
Block a user