starship themed with stylix
This commit is contained in:
parent
9e61d2da2c
commit
96744317ff
1 changed files with 40 additions and 29 deletions
|
|
@ -50,7 +50,17 @@
|
||||||
tmux = {
|
tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
extraConfig = "set -g mouse on";
|
terminal = "tmux-256color";
|
||||||
|
mouse = true;
|
||||||
|
keyMode = "vi";
|
||||||
|
extraConfig = ''
|
||||||
|
set-option -ga terminal-overrides ",alacritty:Tc"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
zellij = {
|
||||||
|
enable = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
starship = {
|
starship = {
|
||||||
|
|
@ -60,17 +70,17 @@
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
format = ''
|
format = ''
|
||||||
[░▒▓](text)$os[](fg:text bg:prim)$directory[](fg:prim bg:seco)$git_branch$git_status[](fg:seco bg:tert)$nix_shell$rust[](fg:tert bg:quar)$time[](fg:quar)$fill[](fg:quar)$cmd_duration[](fg:tert bg:quar)[](fg:seco bg:tert)[](fg:prim bg:seco)$hostname[▓▒░](text)
|
[░▒▓](main)$os[](fg:main bg:cyan)$directory[](fg:cyan bg:blue)$git_branch$git_status[](fg:blue bg:purple)$nix_shell$rust[](fg:purple bg:yellow)$time[](fg:yellow)$fill[](fg:yellow)$cmd_duration[](fg:purple bg:yellow)[](fg:blue bg:purple)[](fg:cyan bg:blue)$hostname[▓▒░](main)
|
||||||
[ ](seco)'';
|
[ ](blue)'';
|
||||||
palette = "night";
|
palette = "stylix";
|
||||||
os = {
|
os = {
|
||||||
disabled = false;
|
disabled = false;
|
||||||
style = "bg:text fg:bg";
|
style = "bg:main fg:background";
|
||||||
symbols.NixOS = " ";
|
symbols.NixOS = " ";
|
||||||
};
|
};
|
||||||
directory = {
|
directory = {
|
||||||
format = "[ $path ]($style)";
|
format = "[ $path ]($style)";
|
||||||
style = "fg:bg bg:prim";
|
style = "fg:background bg:cyan";
|
||||||
truncation_length = 3;
|
truncation_length = 3;
|
||||||
truncation_symbol = " ";
|
truncation_symbol = " ";
|
||||||
substitutions = {
|
substitutions = {
|
||||||
|
|
@ -82,58 +92,59 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
git_branch = {
|
git_branch = {
|
||||||
format = "[[ $symbol $branch ](fg:bg bg:seco)]($style)";
|
format = "[[ $symbol $branch ](fg:background bg:blue)]($style)";
|
||||||
style = "bg:seco";
|
style = "bg:blue";
|
||||||
symbol = "";
|
symbol = "";
|
||||||
};
|
};
|
||||||
git_status = {
|
git_status = {
|
||||||
format = "[[($all_status$ahead_behind )](fg:bg bg:seco)]($style)";
|
format =
|
||||||
style = "bg:seco";
|
"[[($all_status$ahead_behind )](fg:background bg:blue)]($style)";
|
||||||
|
style = "bg:blue";
|
||||||
};
|
};
|
||||||
right_format = "$character";
|
right_format = "$character";
|
||||||
nix_shell = {
|
nix_shell = {
|
||||||
format = "[[ $symbol ](fg:bg bg:tert)]($style)";
|
format = "[[ $symbol ](fg:background bg:purple)]($style)";
|
||||||
heuristic = true;
|
heuristic = true;
|
||||||
style = "bg:tert";
|
style = "bg:purple";
|
||||||
symbol = "";
|
symbol = "";
|
||||||
};
|
};
|
||||||
rust = {
|
rust = {
|
||||||
format = "[[ $symbol ($version) ](fg:bg bg:tert)]($style)";
|
format = "[[ $symbol ($version) ](fg:background bg:purple)]($style)";
|
||||||
style = "bg:tert";
|
style = "bg:purple";
|
||||||
symbol = "";
|
symbol = "";
|
||||||
};
|
};
|
||||||
time = {
|
time = {
|
||||||
disabled = false;
|
disabled = false;
|
||||||
format = "[[ $time ](fg:seco bg:quar)]($style)";
|
format = "[[ $time ](fg:background bg:yellow)]($style)";
|
||||||
style = "bg:quar";
|
style = "bg:yellow";
|
||||||
time_format = "%R";
|
time_format = "%R";
|
||||||
};
|
};
|
||||||
fill.symbol = " ";
|
fill.symbol = " ";
|
||||||
cmd_duration = {
|
cmd_duration = {
|
||||||
format = "[[ $duration ](fg:seco bg:quar)]($style)";
|
format = "[[ $duration ](fg:background bg:yellow)]($style)";
|
||||||
min_time = 0;
|
min_time = 0;
|
||||||
style = "bg:quar";
|
style = "bg:yellow";
|
||||||
};
|
};
|
||||||
hostname = {
|
hostname = {
|
||||||
format =
|
format =
|
||||||
"[[$ssh_symbol](fg:bg bg:prim)[](bg:prim fg:text)$hostname ]($style)";
|
"[[$ssh_symbol](fg:background bg:cyan)[](bg:cyan fg:main)$hostname ]($style)";
|
||||||
ssh_only = false;
|
ssh_only = false;
|
||||||
ssh_symbol = " ";
|
ssh_symbol = " ";
|
||||||
style = "fg:bg bg:text";
|
style = "fg:background bg:main";
|
||||||
};
|
};
|
||||||
character = {
|
character = {
|
||||||
error_symbol = "[✗](bold red)";
|
error_symbol = "[✗](bold red)";
|
||||||
success_symbol = "[](bold green)";
|
success_symbol = "[](bold green)";
|
||||||
};
|
};
|
||||||
palettes.night = {
|
palettes.stylix = {
|
||||||
bg = "#1E1E2E";
|
background = config.lib.stylix.colors.withHashtag.base00;
|
||||||
green = "#a6e3a1";
|
green = config.lib.stylix.colors.withHashtag.base0B;
|
||||||
prim = "#a2b3e6";
|
cyan = config.lib.stylix.colors.withHashtag.base0C;
|
||||||
quar = "#303062";
|
yellow = config.lib.stylix.colors.withHashtag.base0A;
|
||||||
red = "#f38ba8";
|
red = config.lib.stylix.colors.withHashtag.base08;
|
||||||
seco = "#738cd9";
|
blue = config.lib.stylix.colors.withHashtag.base0D;
|
||||||
tert = "#4566cd";
|
purple = config.lib.stylix.colors.withHashtag.base0E;
|
||||||
text = "#d0d9f2";
|
main = config.lib.stylix.colors.withHashtag.base05;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue