mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: dank themes module
This commit is contained in:
parent
616ce7fbca
commit
87b2f7e687
62 changed files with 1589 additions and 201 deletions
|
@ -4,8 +4,8 @@
|
|||
...
|
||||
}: let
|
||||
inherit
|
||||
(flake.config.aesthetics.themes.theme)
|
||||
colors
|
||||
(flake.config.aesthetics.themes.schemes.catppuccin-macchiato)
|
||||
colours
|
||||
;
|
||||
makeColor = c:
|
||||
"#"
|
||||
|
@ -18,7 +18,7 @@
|
|||
+ " bold";
|
||||
surround = fg: text:
|
||||
"[](fg:"
|
||||
+ makeColor colors.base
|
||||
+ makeColor colours.base
|
||||
+ " bg:"
|
||||
+ fg
|
||||
+ ")"
|
||||
|
@ -36,45 +36,45 @@ in {
|
|||
surround (makeColor bg) ("["
|
||||
+ c
|
||||
+ "]("
|
||||
+ makeStyle (makeColor bg) (makeColor colors.crust)
|
||||
+ makeStyle (makeColor bg) (makeColor colours.crust)
|
||||
+ ")");
|
||||
in {
|
||||
error_symbol = makeChar colors.maroon "⊥";
|
||||
error_symbol = makeChar colours.maroon "⊥";
|
||||
format = "$symbol";
|
||||
success_symbol = makeChar colors.teal "λ";
|
||||
success_symbol = makeChar colours.teal "λ";
|
||||
};
|
||||
cmd_duration = {
|
||||
format = surround (makeColor colors.mauve) "[ $duration]($style)";
|
||||
format = surround (makeColor colours.mauve) "[ $duration]($style)";
|
||||
min_time = 0;
|
||||
show_milliseconds = true;
|
||||
style = makeStyle (makeColor colors.mauve) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colours.mauve) (makeColor colours.crust);
|
||||
};
|
||||
directory = {
|
||||
format = surround (makeColor colors.blue) "[ $path]($style)[$read_only]($read_only_style)";
|
||||
format = surround (makeColor colours.blue) "[ $path]($style)[$read_only]($read_only_style)";
|
||||
read_only = " ";
|
||||
read_only_style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colors.blue) (makeColor colors.crust);
|
||||
read_only_style = makeStyle (makeColor colours.blue) (makeColor colours.crust);
|
||||
style = makeStyle (makeColor colours.blue) (makeColor colours.crust);
|
||||
truncation_length = 1;
|
||||
truncate_to_repo = false;
|
||||
};
|
||||
git_branch = {
|
||||
format = surround (makeColor colors.peach) "[$symbol $branch]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
format = surround (makeColor colours.peach) "[$symbol $branch]($style)";
|
||||
style = makeStyle (makeColor colours.peach) (makeColor colours.crust);
|
||||
symbol = "";
|
||||
};
|
||||
git_status = {
|
||||
format = "[ \\[$all_status$ahead_behind\\]]($style)";
|
||||
style = makeStyle (makeColor colors.yellow) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colours.yellow) (makeColor colours.crust);
|
||||
};
|
||||
hostname = {
|
||||
format = surround (makeColor colors.sapphire) "[$ssh_symbol$hostname]($style)";
|
||||
format = surround (makeColor colours.sapphire) "[$ssh_symbol$hostname]($style)";
|
||||
ssh_symbol = " ";
|
||||
style = makeStyle (makeColor colors.sapphire) (makeColor colors.crust);
|
||||
style = makeStyle (makeColor colours.sapphire) (makeColor colours.crust);
|
||||
};
|
||||
pijul_channel = {
|
||||
disabled = false;
|
||||
format = surround (makeColor colors.peach) "[$symbol $channel]($style)";
|
||||
style = makeStyle (makeColor colors.peach) (makeColor colors.crust);
|
||||
format = surround (makeColor colours.peach) "[$symbol $channel]($style)";
|
||||
style = makeStyle (makeColor colours.peach) (makeColor colours.crust);
|
||||
symbol = "";
|
||||
};
|
||||
format = lib.concatStrings [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue