refactor: latte gang

main
sgoudham 10 months ago
parent 5e03888908
commit 3f19862777
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -348,11 +348,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1689134369, "lastModified": 1697838989,
"narHash": "sha256-0G9dutIvhS/WUr3Awcnqw71g8EVVvvkOhVDnDDbY4Fw=", "narHash": "sha256-hwVlO+st8vWJO6iy3/JbMHrUyY4Ak7xUSmffoWqBPUg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e42fb59768f0305085abde0dd27ab5e0cc15420c", "rev": "ae631b0b20f06f7d239d160723d228891ddb2fe0",
"type": "github" "type": "github"
}, },
"original": { "original": {

@ -19,17 +19,18 @@ in {
}; };
in { in {
enable = true; enable = true;
config.theme = "Catppuccin-mocha"; config.theme = "Catppuccin-latte";
themes = let themes = let
getTheme = flavour: getTheme = flavour: "Catppuccin-${flavour}.tmTheme";
builtins.readFile (
themepkg + "/Catppuccin-${flavour}.tmTheme"
);
in { in {
Catppuccin-latte = getTheme "latte"; Catppuccin-latte = {
Catppuccin-frappe = getTheme "frappe"; src = themepkg;
Catppuccin-macchiato = getTheme "macchiato"; file = getTheme "latte";
Catppuccin-mocha = getTheme "mocha"; };
Catppuccin-mocha = {
src = themepkg;
file = getTheme "mocha";
};
}; };
}; };
btop = { btop = {
@ -39,13 +40,26 @@ in {
vim_keys = true; vim_keys = true;
}; };
}; };
lsd = { # eza = {
enable = true; # enable = false;
enableAliases = true; # enableAliases = false;
settings = { # icons = true;
no-symlink = false; # extraOptions = [
}; # "--all"
}; # "--long"
# "--time-style=long-iso"
# "--dereference"
# "--octal-permissions"
# "--group"
# ];
# };
# lsd = {
# enable = true;
# enableAliases = true;
# settings = {
# no-symlink = false;
# };
# };
tealdeer = { tealdeer = {
enable = true; enable = true;
settings = { settings = {
@ -296,7 +310,7 @@ in {
bind -s --user -M insert \e "if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f repaint-mode; end" bind -s --user -M insert \e "if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f repaint-mode; end"
yes | fish_config theme save "Catppuccin Mocha" yes | fish_config theme save "Catppuccin Latte"
''; '';
plugins = [ plugins = [
@ -321,5 +335,9 @@ in {
url = "https://raw.githubusercontent.com/catppuccin/fish/main/themes/Catppuccin%20Mocha.theme"; url = "https://raw.githubusercontent.com/catppuccin/fish/main/themes/Catppuccin%20Mocha.theme";
sha256 = "sha256-MlI9Bg4z6uGWnuKQcZoSxPEsat9vfi5O1NkeYFaEb2I="; sha256 = "sha256-MlI9Bg4z6uGWnuKQcZoSxPEsat9vfi5O1NkeYFaEb2I=";
}); });
"fish/themes/Catppuccin Latte.theme".text = builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/fish/main/themes/Catppuccin%20Latte.theme";
sha256 = "sha256-SL19zcXf+Df1BeH+nfI63t3qpDmRISHGRtaEP36mojE=";
});
}; };
} }

@ -4,6 +4,7 @@ return {
name = "catppuccin", name = "catppuccin",
no_italic = true, no_italic = true,
opts = { opts = {
flavour = "latte",
-- styles = { -- styles = {
-- comments = { "italic" }, -- comments = { "italic" },
-- }, -- },

@ -1,6 +1,7 @@
# Get editor completions based on the config schema # Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json' "$schema" = 'https://starship.rs/config-schema.json'
palette = "catppuccin_latte"
format = """ format = """
\ \
$username\ $username\
@ -84,121 +85,177 @@ error_symbol = "[\\$](bold red)" # The "success_symbol" segment is being set
vimcmd_symbol = "[\\$](bold green)" vimcmd_symbol = "[\\$](bold green)"
[hostname] [hostname]
style = "#74c7ec" style = "sapphire"
ssh_symbol = "🐴 " ssh_symbol = "🐴 "
[aws] [aws]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[buf] [buf]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[c] [c]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[conda] [conda]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[dart] [dart]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[directory] [directory]
style = "#cba6f7" style = "mauve"
read_only = " 󰌾" read_only = " 󰌾"
[docker_context] [docker_context]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[elixir] [elixir]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[elm] [elm]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[git_branch] [git_branch]
symbol = " " symbol = " "
[golang] [golang]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[haskell] [haskell]
style = "#74c7ec" style = "sapphire"
symbol = "󰲒 " symbol = "󰲒 "
[hg_branch] [hg_branch]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[java] [java]
style = "#74c7ec" style = "sapphire"
symbol = "󰬷 " symbol = "󰬷 "
[julia] [julia]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[lua] [lua]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[memory_usage] [memory_usage]
style = "#74c7ec" style = "sapphire"
symbol = "󰍛 " symbol = "󰍛 "
[meson] [meson]
style = "#74c7ec" style = "sapphire"
symbol = "󰔷 " symbol = "󰔷 "
[nim] [nim]
style = "#74c7ec" style = "sapphire"
symbol = "󰆥 " symbol = "󰆥 "
[nix_shell] [nix_shell]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[nodejs] [nodejs]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[package] [package]
style = "#fab387" style = "peach"
symbol = ' ' symbol = ' '
[python] [python]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[rlang] [rlang]
style = "#74c7ec" style = "sapphire"
symbol = "󰟔 " symbol = "󰟔 "
[ruby] [ruby]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[rust] [rust]
style = "#74c7ec" style = "sapphire"
symbol = "󱘗 " symbol = "󱘗 "
[scala] [scala]
style = "#74c7ec" style = "sapphire"
symbol = " " symbol = " "
[spack] [spack]
style = "#74c7ec" style = "sapphire"
[kubernetes] [kubernetes]
style = "#74c7ec" style = "sapphire"
symbol = "󱃾 " symbol = "󱃾 "
format = '[ $symbol($cluster/$namespace) ]($style)' format = '[ $symbol($cluster/$namespace) ]($style)'
disabled = false disabled = false
[palettes.catppuccin_latte]
rosewater = "#dc8a78"
flamingo = "#dd7878"
pink = "#ea76cb"
mauve = "#8839ef"
red = "#d20f39"
maroon = "#e64553"
peach = "#fe640b"
yellow = "#df8e1d"
green = "#40a02b"
teal = "#179299"
sky = "#04a5e5"
sapphire = "#209fb5"
blue = "#1e66f5"
lavender = "#7287fd"
text = "#4c4f69"
subtext1 = "#5c5f77"
subtext0 = "#6c6f85"
overlay2 = "#7c7f93"
overlay1 = "#8c8fa1"
overlay0 = "#9ca0b0"
surface2 = "#acb0be"
surface1 = "#bcc0cc"
surface0 = "#ccd0da"
base = "#eff1f5"
mantle = "#e6e9ef"
crust = "#dce0e8"
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"

@ -63,7 +63,7 @@ c.ssh_domains = {
} }
wezterm.plugin.require("https://github.com/catppuccin/wezterm").apply_to_config(c, { wezterm.plugin.require("https://github.com/catppuccin/wezterm").apply_to_config(c, {
flavor = "mocha", flavor = "latte",
sync = wezterm.target_triple:find("darwin") ~= nil, sync = wezterm.target_triple:find("darwin") ~= nil,
sync_flavors = { light = "latte", dark = "mocha" }, sync_flavors = { light = "latte", dark = "mocha" },
}) })
@ -90,7 +90,7 @@ wezterm.plugin.require("https://github.com/sgoudham/wezterm-bar").apply_to_confi
}, },
}) })
local custom = wezterm.color.get_builtin_schemes()["Catppuccin Mocha"] local custom = wezterm.color.get_builtin_schemes()["Catppuccin Latte"]
custom.background = "#000000" custom.background = "#000000"
custom.tab_bar.background = "#040404" custom.tab_bar.background = "#040404"
custom.tab_bar.inactive_tab.bg_color = "#0f0f0f" custom.tab_bar.inactive_tab.bg_color = "#0f0f0f"
@ -99,6 +99,6 @@ custom.tab_bar.new_tab.bg_color = "#080808"
c.color_schemes = { c.color_schemes = {
["OLEDppuccin"] = custom, ["OLEDppuccin"] = custom,
} }
c.color_scheme = "Catppuccin Mocha" c.color_scheme = "Catppuccin Latte"
return c return c

@ -41,7 +41,7 @@
home.sessionVariables = { home.sessionVariables = {
TERMINAL = "wezterm-gui"; TERMINAL = "wezterm-gui";
LIBVA_DRIVER_NAME = "iHD"; LIBVA_DRIVER_NAME = "iHD";
LS_COLORS = "$(vivid generate catppuccin-mocha)"; LS_COLORS = "$(vivid generate catppuccin-latte)";
JAVA_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/current"; JAVA_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/current";
GRAALVM_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/22.3.r17-grl"; GRAALVM_HOME = "${config.home.homeDirectory}/.sdkman/candidates/java/22.3.r17-grl";
}; };

Loading…
Cancel
Save