fish and alacritty moved to nix config

This commit is contained in:
Chris Cochrun 2024-01-18 13:52:59 -06:00
parent 512de87c07
commit 7f0747ffc6

View file

@ -630,9 +630,8 @@ tooltip label {
};
programs.fish = {
interactiveShellInit = [
''
enable = true;
interactiveShellInit = ''
function fish_greeting -d "what's up, fish?"
# set_color $fish_color_autosuggestion[1]
# uname -npsr
@ -824,8 +823,7 @@ function fish_user_key_bindings
end
# starship init fish | source
''
];
'';
};
@ -918,9 +916,9 @@ end
recursive = true;
};
home.file.".config/alacritty" = {
source = ../.config/alacritty;
};
# home.file.".config/alacritty" = {
# source = ../.config/alacritty;
# };
home.file.".config/picom.conf" = {
source = ../.config/picom.conf;
@ -952,6 +950,68 @@ end
ytd = "yt-dlp -o \"~/vids/%(title)s.%(ext)s\" $1";
};
programs.alacritty = {
enable = true;
settings = {
window = {
opacity = 1.0;
dynamic_title = true;
padding.x = 10;
padding.y = 10;
dynamic_padding = true;
};
shell.program = "fish";
font = {
normal = {
family = "VictorMono Nerd Font";
style = "Regular";
};
bold = {
family = "VictorMono Nerd Font";
style = "Bold";
};
italic = {
family = "VictorMono Nerd Font";
style = "Italic";
};
size = 12.0;
};
colors = {
transparent_background_colors = true;
draw_bold_text_with_bright_colors = true;
primary = {
background = "#282a36";
foreground = "#eff0eb";
};
cursor.cursor = "#97979b";
selection = {
text = "#282a36";
background = "#feffff";
};
normal = {
black = "#282a36";
red = "#ff5c57";
green = "#5af78e";
yellow = "#f3f99d";
blue = "#57c7ff";
magenta = "#ff6ac1";
cyan = "#9aedfe";
white = "#f1f1f0";
};
bright = {
black = "#686868";
red = "#ff5c57";
green = "#5af78e";
yellow = "#f3f99d";
blue = "#57c7ff";
magenta = "#ff6ac1";
cyan = "#9aedfe";
white = "#eff0eb";
};
};
};
};
programs.starship = {
enable = true;
enableNushellIntegration = true;