Revert "chore: remove manual catppuccin in favor of system wide configuration"

This reverts commit 1161933237.
This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2024-07-22 13:49:55 -03:00
parent 2838e06f07
commit 205119107f
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
16 changed files with 142 additions and 61 deletions

View file

@ -1,9 +1,19 @@
{ pkgs, ... }:
let
catppuccin-theme = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "alacritty";
rev = "94800165c13998b600a9da9d29c330de9f28618e";
hash = "sha256-Pi1Hicv3wPALGgqurdTzXEzJNx7vVh+8B9tlqhRpR2Y=";
};
in
{
programs.alacritty = {
enable = true;
settings = {
import = [ "${catppuccin-theme}/catppuccin-frappe.toml" ];
font = {
normal = {
family = "FantasqueSansM Nerd Font";

View file

@ -0,0 +1,30 @@
# name: 'Catppuccin frappe'
# url: 'https://github.com/catppuccin/fish'
# preferred_background: 303446
fish_color_normal c6d0f5
fish_color_command 8caaee
fish_color_param eebebe
fish_color_keyword e78284
fish_color_quote a6d189
fish_color_redirection f4b8e4
fish_color_end ef9f76
fish_color_comment 838ba7
fish_color_error e78284
fish_color_gray 737994
fish_color_selection --background=414559
fish_color_search_match --background=414559
fish_color_option a6d189
fish_color_operator f4b8e4
fish_color_escape ea999c
fish_color_autosuggestion 737994
fish_color_cancel e78284
fish_color_cwd e5c890
fish_color_user 81c8be
fish_color_host 8caaee
fish_color_host_remote a6d189
fish_color_status e78284
fish_pager_color_progress 737994
fish_pager_color_prefix f4b8e4
fish_pager_color_completion c6d0f5
fish_pager_color_description 737994

View file

@ -1,21 +1,32 @@
anchor=bottom-right
border-radius=30
border-size=1
background-color=#282a36
border-color=#282a36
border-radius=20
border-size=2
default-timeout=10000
format=<span font="FantasqueSansMono NF weight=325 Italic" size="12288">%s</span>\n<span font="FantasqueSansMono NF weight=325" size="12288">%b</span>
group-by=summary
height=180
height=125
icon-location=right
layer=top
margin=0
margin=0,20,15
markup=1
max-icon-size=48
outer-margin=8
padding=25
width=375
padding=10,5,10
text-color=#44475a
width=300
[grouped]
format=<span font="FantasqueSansMono NF weight=325 Italic" size="12288">%s</span>\n<span font="FantasqueSansMono NF weight=325" size="12288">%b</span>
[mode=do-not-disturb]
invisible=1
[urgency=low]
border-color=#282a36
[urgency=normal]
border-color=#f1fa8c
[urgency=high]
border-color=#ff5555

View file

@ -22,5 +22,7 @@
sidebar-mode = true;
terminal = "alacritty";
};
theme = ./catppuccin-frappe.rasi;
};
}

View file

@ -4,5 +4,13 @@
programs.tmux = {
enable = true;
clock24 = true;
plugins = with pkgs.tmuxPlugins; [
{
plugin = catppuccin;
extraConfig = ''
set -g @catppuccin_flavour 'frappe'
'';
}
];
};
}