theme/QoL

This commit is contained in:
elwrcl committed 2026-08-27 16:45:54 +03:00
1 parent c86dcd63fe
commit 51363a98c7
25 files changed
+1036 -439

No files matched your search

@@ -1,38 +0,0 @@
{ ... }:
{
flake.homeModules.home-nushell-colors =
{ pkgs, lib, ... }:
let
inherit (lib.meta) getExe;
lsColors = pkgs.runCommand "ls_colors.txt" { } ''
${getExe pkgs.vivid} generate gruvbox-dark-hard > $out
'';
in
{
home.packages = [ pkgs.vivid ];
programs.nushell.extraConfig = ''
$env.LS_COLORS = open --raw ${lsColors}
$env.config.color_config.row_index = "light_yellow_bold"
$env.config.color_config.header = "light_yellow_bold"
$env.config.color_config.bool = {||
if $in {
"light_green_bold"
} else {
"light_red_bold"
}
}
$env.config.color_config.string = {||
if $in =~ "^(#|0x)[a-fA-F0-9]+$" {
$in | str replace "0x" "#"
} else {
"white"
}
}
'';
};
}
@@ -0,0 +1,15 @@
{ ... }:
{
flake.homeModules.home-nushell-greeting =
{ config, lib, ... }:
let
nyi = lib.getExe config.programs.nyi.package;
in
{
programs.nushell.extraConfig = ''
if $nu.is-interactive and ($env.ZELLIJ? | is-empty) {
^${nyi} --frames 60
}
'';
};
}
-4
View File
@@ -124,10 +124,6 @@
}
}
}
if ($"($env.HOME)/.config/copetch/animated-copetch.sh" | path exists) {
^$"($env.HOME)/.config/copetch/animated-copetch.sh"
}
'';
};
};