conf: kitty
This commit is contained in:
parent
8246fdbc02
commit
7f82330be5
3 changed files with 102 additions and 3 deletions
11
home-manager/packages/kitty.nix
Normal file
11
home-manager/packages/kitty.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.kitty = {
|
||||||
|
enable = true;
|
||||||
|
font = "FiraCode Nerd Font";
|
||||||
|
settings = {
|
||||||
|
window_padding_width = 4;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,6 +6,7 @@
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./emacs.nix
|
./emacs.nix
|
||||||
|
./kitty.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -16,7 +17,6 @@
|
||||||
firefox
|
firefox
|
||||||
tree
|
tree
|
||||||
vesktop
|
vesktop
|
||||||
kitty
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
fzf
|
fzf
|
||||||
zoxide
|
zoxide
|
||||||
|
|
|
@ -52,6 +52,94 @@
|
||||||
programs.oh-my-posh = {
|
programs.oh-my-posh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
useTheme = "catppuccin_mocha";
|
# useTheme = "catppuccin_mocha";
|
||||||
};
|
settings = {
|
||||||
|
"$schema" = "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json";
|
||||||
|
palette = {
|
||||||
|
os = "#ACB0BE";
|
||||||
|
pink = "#F5BDE6";
|
||||||
|
lavender = "#B7BDF8";
|
||||||
|
blue = "#8AADF4";
|
||||||
|
white = "#FFFFFF";
|
||||||
|
text = "#494D64";
|
||||||
|
};
|
||||||
|
blocks = [
|
||||||
|
{
|
||||||
|
alignment = "left";
|
||||||
|
segments = [
|
||||||
|
{
|
||||||
|
background = "p:blue";
|
||||||
|
foreground = "p:wight";
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
leading_diamond = builtins.fromJSON '' "\ue0b6" '';
|
||||||
|
style = "diamond";
|
||||||
|
template = "{{.Icon}} ";
|
||||||
|
type = "os";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
background = "p:blue";
|
||||||
|
foreground = "p:text";
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
style = "diamond";
|
||||||
|
template = "{{ .UserName }}@{{ .HostName }}";
|
||||||
|
type = "session";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
background = "p:pink";
|
||||||
|
foreground = "p:text";
|
||||||
|
properties = {
|
||||||
|
folder_icon = "..\ue5fe..";
|
||||||
|
home_icon = "~";
|
||||||
|
style = "folder";
|
||||||
|
};
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
style = "powerline";
|
||||||
|
template = builtins.fromJSON '' " \udb81\udf70 {{ .Path }}" '';
|
||||||
|
type = "path";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
background = "p:blue";
|
||||||
|
foreground = "p:text";
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
template = builtins.fromJSON '' "{{if .Env.IN_NIX_SHELL}} \uf313 in nix-shell{{else}}{{end}}" '';
|
||||||
|
style = "diamond";
|
||||||
|
type = "text";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
background = "p:lavender";
|
||||||
|
foreground = "p:text";
|
||||||
|
style = "powerline";
|
||||||
|
properties = {
|
||||||
|
branch_icon = builtins.fromJSON '' "\ue725 " '';
|
||||||
|
cherry_pick_icon = builtins.fromJSON '' "\ue29b " '';
|
||||||
|
commit_icon = builtins.fromJSON '' "\uf417 " '';
|
||||||
|
fetch_status = true;
|
||||||
|
fetch_upstream_icon = true;
|
||||||
|
fetch_bare_info = true;
|
||||||
|
merge_icon = builtins.fromJSON '' "\ue727 " '';
|
||||||
|
no_commits_icon = builtins.fromJSON '' "\uf0c3 " '';
|
||||||
|
rebase_icon = builtins.fromJSON '' "\ue728 " '';
|
||||||
|
revert_icon = builtins.fromJSON '' "\uf0e2 " '';
|
||||||
|
tag_icon = builtins.fromJSON '' "\uf412 " '';
|
||||||
|
};
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
template = " {{ .HEAD }}{{ .Working }}";
|
||||||
|
type = "git";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
background = "#f38ba8";
|
||||||
|
foreground = "p:text";
|
||||||
|
powerline_symbol = builtins.fromJSON '' "\ue0b4" '';
|
||||||
|
template = builtins.fromJSON '' "{{if eq .Code 0}}{{else}} \uea87 {{.Code}}<#f38ba8,transparent>\ue0b4{{end}}" '';
|
||||||
|
type = "status";
|
||||||
|
style = "diamond";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
type = "prompt";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
final_space = true;
|
||||||
|
version = 2;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue