Compare commits

..

2 commits

Author SHA1 Message Date
2189ad3c08 starship.nix: change prompt 2025-04-09 22:38:33 +02:00
eb3093d462 foot.nix: fix configuration 2025-04-09 22:37:45 +02:00
2 changed files with 12 additions and 37 deletions

View file

@ -17,10 +17,10 @@
title = "foot"; title = "foot";
locked-title = "no"; locked-title = "no";
# font = "valiosevka:size=14"; font = "valiosevka:size=14";
# font-bold = "valiosevka:size=14"; font-bold = "valiosevka:size=14";
font = "Iosevka Nerd Font:size=14"; # font = "Iosevka Nerd Font:size=14";
font-bold = "Iosevka Nerd Font:size=14"; # font-bold = "Iosevka Nerd Font:size=14";
line-height = 20; line-height = 20;
letter-spacing = 0; letter-spacing = 0;
@ -60,9 +60,6 @@
launch = "${pkgs.xdg-utils}/bin/xdg-open \${url}"; launch = "${pkgs.xdg-utils}/bin/xdg-open \${url}";
label-letters = "sadfjklewcmpgh"; label-letters = "sadfjklewcmpgh";
osc8-underline = "always"; osc8-underline = "always";
protocols = "http, https, ftp, ftps, file, gemini, gopher, irc, ircs";
uri-characters = ''
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]'';
}; };
tweak = { tweak = {

View file

@ -1,38 +1,25 @@
{ {
add_newline = false; add_newline = false;
command_timeout = 2000; command_timeout = 2000;
# format = "$hostname$username$directory$shell$nix_shell$git_branch$git_commit$git_state$git_status$jobs$cmd_duration\n$character"; format = "$hostname$username$directory$shell$nix_shell$jobs$character";
scan_timeout = 2; scan_timeout = 1;
character = { character = {
error_symbol = "[](bold red)"; error_symbol = "[λ](bold red)";
format = "$symbol [|](bold bright-black) "; success_symbol = "[λ](bold green)";
success_symbol = "[](bold green)";
vicmd_symbol = "[](bold yellow)";
}; };
directory = { directory = {
format = "[ ](bold green) [$path]($style) "; format = "[](bold green) [$path]($style) ";
truncation_length = 2; truncation_length = 2;
}; };
git_branch = {
style = "bold purple"; direnv = {
disabled = false;
}; };
git_commit.commit_hash_length = 7;
git_status = { git_status = {
disabled = true; disabled = true;
ahead = " ";
behind = " ";
conflicted = " ";
deleted = " ";
diverged = " ";
modified = "!";
renamed = "»";
staged = "+";
stashed = "";
style = "red";
untracked = "?";
}; };
hostname = { hostname = {
@ -41,21 +28,12 @@
ssh_only = true; ssh_only = true;
}; };
line_break.disabled = false;
c.symbol = "[ ](black)"; c.symbol = "[ ](black)";
lua.symbol = "[ ](blue) "; lua.symbol = "[ ](blue) ";
golang.symbol = "[󰟓 ](blue)";
nix_shell.symbol = "[󱄅 ](blue) "; nix_shell.symbol = "[󱄅 ](blue) ";
nodejs.symbol = "[󰎙 ](yellow)"; nodejs.symbol = "[󰎙 ](yellow)";
package.symbol = "📦 "; package.symbol = "📦 ";
python.symbol = "[ ](blue) "; python.symbol = "[ ](blue) ";
rust.symbol = "[ ](red) "; rust.symbol = "[ ](red) ";
username.format = "[$user]($style) in "; username.format = "[$user]($style) in ";
} }