Compare commits

..

No commits in common. "01c867c33813b4a29bdad275810757dfc46d3f07" and "b515a40804af92eed2051b8a6651ed1802ccd587" have entirely different histories.

5 changed files with 20 additions and 44 deletions

View file

@ -1,9 +1,4 @@
{ { pkgs, ... }:
pkgs,
config,
lib,
...
}:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
kdePackages.qttools kdePackages.qttools
@ -19,7 +14,6 @@
gzip = "pigz"; gzip = "pigz";
ls = "eza"; ls = "eza";
gl = "git log"; gl = "git log";
gd = "git diff";
ga = "git add -v ."; ga = "git add -v .";
gac = "git add -v . && git commit"; gac = "git add -v . && git commit";
gaca = "git add -v . && git commit --amend --no-edit"; gaca = "git add -v . && git commit --amend --no-edit";
@ -45,18 +39,5 @@
}; };
}; };
}; };
home.file.".config/fish/colors.fish" = {
text = lib.concatStringsSep "\n" (
lib.mapAttrsToList (name: value: "set -g color_${name} ${value}") (
lib.filterAttrs (
n: v: builtins.isString v && builtins.match "^base[0-9A-Fa-f]{2}$" n != null
) config.scheme
)
++ [ "set -g color_accent ${config.scheme.${config.colors.accent}}" ]
);
force = true;
};
programs.man.generateCaches = false; programs.man.generateCaches = false;
} }

View file

@ -1,4 +1,4 @@
source ~/.config/fish/colors.fish # source ~/.config/fish/colors.fish
set -l last_status $status set -l last_status $status
set -l nix_shell_info ( set -l nix_shell_info (
if test -n "$IN_NIX_SHELL" if test -n "$IN_NIX_SHELL"
@ -11,14 +11,14 @@ set -g color_cwd green
# Set host color based on hostname # Set host color based on hostname
if test (hostname) = peach if test (hostname) = peach
set -g color_host $color_accent set -g color_host yellow
else if test (hostname) = alien else if test (hostname) = alien
set -g color_host $color_accent set -g color_host yellow
else if test (hostname) = vm else if test (hostname) = vm
set -g color_host $color_accent set -g color_host yellow
set -g color_cwd normal set -g color_cwd normal
else if test (uname) = Darwin else if test (uname) = Darwin
set -g color_host $color_base0A set -g color_host yellow
end end
set -l user_host (set_color $color_user)"$USER"(set_color normal)"@"(set_color $color_host)(prompt_hostname)(set_color normal) set -l user_host (set_color $color_user)"$USER"(set_color normal)"@"(set_color $color_host)(prompt_hostname)(set_color normal)

View file

@ -27,13 +27,13 @@ let
url_color ${base06} url_color ${base06}
# Kitty window border colors # Kitty window border colors
active_border_color ${config.scheme.withHashtag.${config.colors.accent}} active_border_color ${base09}
inactive_border_color ${base01} inactive_border_color ${base03}
bell_border_color ${base12} bell_border_color ${base0A}
# Tab bar colors # Tab bar colors
active_tab_foreground ${base11} active_tab_foreground ${base11}
active_tab_background ${config.scheme.withHashtag.${config.colors.accent}} active_tab_background ${base09}
inactive_tab_foreground ${base05} inactive_tab_foreground ${base05}
inactive_tab_background ${base10} inactive_tab_background ${base10}
tab_bar_background ${base11} tab_bar_background ${base11}

View file

@ -45,29 +45,27 @@
state = "base16_custom"; state = "base16_custom";
}; };
# this is helpful for figuring out what color is what:
# https://github.com/tinted-theming/schemes/blob/spec-0.11/base24/catppuccin-frappe.yaml
custom_palettes = with config.scheme.withHashtag; { custom_palettes = with config.scheme.withHashtag; {
main.base16_custom = { main.base16_custom = {
color0 = base00; # background color0 = base00; # background
color1 = base01; # lighter background color1 = base01; # lighter background
color2 = base02; # selection background color2 = base02; # selection background
color3 = base03; # color inside ${} color3 = base03; # comments
color4 = base04; # dark foreground color4 = base04; # dark foreground
color5 = config.scheme.withHashtag.${config.colors.accent}; # default foreground, left side of assignments color5 = base05; # default foreground
color6 = base03; # comments color6 = base06; # light foreground
color7 = base07; # lightest foreground color7 = base07; # lightest foreground
color8 = base05; # variables/tags color8 = base05; # variables/tags
}; };
accent.base16_custom = { accent.base16_custom = {
accent0 = base08; # red, integers/constants accent0 = config.scheme.withHashtag.${config.colors.accent}; # integers/constants
accent1 = base0A; # orange, classes/search accent1 = base0A; # classes/search
accent2 = base0A; # yellow, strings/inherited accent2 = base0B; # strings/inherited
accent3 = base0B; # green, support/regex accent3 = base0C; # support/regex
accent4 = base0D; # blue, functions/headings accent4 = base0D; # functions/headings
accent5 = base0E; # purple, keywords/bold accent5 = base0E; # keywords/bold
accent6 = base07; # lavender, deprecated/embedded accent6 = base0F; # deprecated/embedded
}; };
state.base16_custom = { state.base16_custom = {

View file

@ -58,9 +58,6 @@
"duckduckgo".disabled = true; "duckduckgo".disabled = true;
"brave".disabled = true; "brave".disabled = true;
"bing".disabled = false; "bing".disabled = false;
"bing".weight = 0.4;
"startpage".disabled = false;
"startpage".weight = 1.4;
"google".disabled = false; "google".disabled = false;
"mojeek".disabled = true; "mojeek".disabled = true;
"mwmbl".disabled = false; "mwmbl".disabled = false;