feat: refactored home manager

This commit is contained in:
Nick 2025-01-19 23:40:54 -06:00
parent 65417d1809
commit 376c1d7b18
511 changed files with 1777 additions and 772 deletions

View file

@ -0,0 +1,36 @@
{ flake, ... }:
let
inherit (flake.config.aesthetics.themes)
currentTheme
palettes
font
;
el = palettes.${currentTheme}.colours;
in
{
font-size = font.size.desktop;
hint-font = true;
background-color = "#${el.base02}";
outline-color = "#${el.base0E}";
prompt-color = "#${el.base0D}";
input-color = "#${el.base07}";
default-result-color = "#${el.base05}";
selection-color = "#${el.base0C}";
prompt-text = "Summon: ";
width = 400;
height = 400;
outline-width = 1;
border-width = 0;
padding-top = 10;
padding-bottom = 10;
padding-left = 10;
padding-right = 10;
corner-radius = 10;
drun-launch = true;
}

View file

@ -0,0 +1,16 @@
{
pkgs,
flake,
...
}:
let
configPath = ./config;
settingsPath = import (configPath + /settings.nix) { inherit flake; };
in
{
programs.tofi = {
enable = true;
settings = settingsPath;
};
}