home: centralize theme and make home-manager feature-aware
- add home/theme.nix as the single Silicon Volt palette and pass it to home modules via extraSpecialArgs - drive foot, hyprland, hyprlock, mako, fzf, starship, rofi and the herdr picker from that palette; raw config files use @color@ tokens substituted at build time - pass my = config.my into home-manager; add my.pi.enable, my.flakeDir - gate home/pi.nix on my.pi.enable (enabled on hades) - route zshconf/hyprconf aliases and FLAKE_CONFIG through my.flakeDir - rename the hyprland monitor option volt.monitors -> hypr.monitors - fix use_auto_tmux command-substitution bug in zsh/init.zsh - track home/nvim/config/lazy-lock.json for reproducible plugins - document theming and toggles in the README
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
programs.hyprlock = {
|
||||
@@ -32,7 +32,7 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = "$TIME";
|
||||
color = "rgba(ffffffdd)";
|
||||
color = "rgba(${theme.bare.textPrimary}dd)";
|
||||
font_size = 90;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
position = "0, 220";
|
||||
@@ -43,7 +43,7 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:1000] echo \" $(date +'%A, %B %d') \"";
|
||||
color = "rgba(adaaaaff)";
|
||||
color = "rgba(${theme.bare.textMuted}ff)";
|
||||
font_size = 20;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
position = "0, 120";
|
||||
@@ -54,7 +54,7 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = "NIXOS // SILICON VOLT";
|
||||
color = "rgba(cffc00ee)";
|
||||
color = "rgba(${theme.bare.accentVolt}ee)";
|
||||
font_size = 14;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
position = "0, 60";
|
||||
@@ -65,7 +65,7 @@
|
||||
{
|
||||
monitor = "";
|
||||
text = "cmd[update:3600000] echo \" $USER @ $(hostname) \"";
|
||||
color = "rgba(adaaaa99)";
|
||||
color = "rgba(${theme.bare.textMuted}99)";
|
||||
font_size = 13;
|
||||
font_family = "JetBrainsMono Nerd Font";
|
||||
position = "0, -160";
|
||||
@@ -84,11 +84,11 @@
|
||||
dots_spacing = 0.2;
|
||||
dots_center = true;
|
||||
# Volt lime outline, dark glass interior
|
||||
outer_color = "rgba(cffc00ee)";
|
||||
inner_color = "rgba(1c1b1b, 0.9)";
|
||||
check_color = "rgba(e3ff66ee)";
|
||||
fail_color = "rgba(ff7a59ee)";
|
||||
font_color = "rgba(e5e2e1ff)";
|
||||
outer_color = "rgba(${theme.bare.accentVolt}ee)";
|
||||
inner_color = "rgba(${theme.bare.glassBg}, 0.9)";
|
||||
check_color = "rgba(${theme.bare.accentVoltLight}ee)";
|
||||
fail_color = "rgba(${theme.bare.accentCoral}ee)";
|
||||
font_color = "rgba(${theme.bare.textSecondary}ff)";
|
||||
fail_text = "$FAIL (<b>attempts: $ATTEMPTS</b>)";
|
||||
fade_on_empty = false;
|
||||
placeholder_text = "<i> Enter Password...</i>";
|
||||
|
||||
Reference in New Issue
Block a user