- 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.
23 lines
731 B
Nix
23 lines
731 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
palettes = import ../../assets/themes/nomarchy-palettes.nix;
|
|
activeThemeName = config.nomarchy.system.theme;
|
|
currentPalette = (palettes.${activeThemeName} or palettes.nord).palette;
|
|
|
|
# Hex color for browser theme (base00 is background)
|
|
themeColor = "#${currentPalette.base00}";
|
|
|
|
policy = {
|
|
BrowserThemeColor = themeColor;
|
|
BrowserColorScheme = if lib.strings.hasInfix "light" activeThemeName then "light" else "dark";
|
|
};
|
|
in
|
|
{
|
|
# Chromium policies
|
|
programs.chromium.extraOpts = policy;
|
|
|
|
# Brave policies (Brave on NixOS also respects some chromium policies if set via extraOpts)
|
|
# But better to use the specific brave module if available or just the same policy.
|
|
}
|