Compare commits
2 Commits
c5d2e8d5ce
...
91536809c2
Author | SHA1 | Date |
---|---|---|
Sven Vogel | 91536809c2 | |
Sven Vogel | c6d0de14c0 |
|
@ -154,13 +154,14 @@ in
|
|||
environment.systemPackages = (with pkgs; [
|
||||
(python3.withPackages(python-packages))
|
||||
|
||||
fishPlugins.done
|
||||
fishPlugins.done # notifications for background process finished
|
||||
fishPlugins.fzf-fish
|
||||
fishPlugins.forgit
|
||||
fishPlugins.hydro
|
||||
fzf
|
||||
fishPlugins.grc
|
||||
grc
|
||||
fishPlugins.tide # asynchronous prompt for fish shell
|
||||
fishPlugins.autopair
|
||||
|
||||
distrobox
|
||||
|
||||
|
|
|
@ -1,112 +1,213 @@
|
|||
|
||||
format = """
|
||||
[╭── \
|
||||
$username\
|
||||
$hostname\
|
||||
$localip\
|
||||
$shlvl\
|
||||
$singularity\
|
||||
$kubernetes\
|
||||
[](#9A348E)\
|
||||
$os\
|
||||
[](bg:#DA627D fg:#9A348E)\
|
||||
$directory\
|
||||
$vcsh\
|
||||
$fossil_branch\
|
||||
[](fg:#DA627D bg:#FCA17D)\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
$git_state\
|
||||
$git_metrics\
|
||||
$git_status\
|
||||
$hg_branch\
|
||||
$pijul_channel\
|
||||
$docker_context\
|
||||
$package\
|
||||
[](fg:#FCA17D bg:#86BBD8)\
|
||||
$c\
|
||||
$cmake\
|
||||
$cobol\
|
||||
$daml\
|
||||
$dart\
|
||||
$deno\
|
||||
$dotnet\
|
||||
$elixir\
|
||||
$elm\
|
||||
$erlang\
|
||||
$fennel\
|
||||
$golang\
|
||||
$guix_shell\
|
||||
$gradle\
|
||||
$haskell\
|
||||
$haxe\
|
||||
$helm\
|
||||
$java\
|
||||
$julia\
|
||||
$kotlin\
|
||||
$gradle\
|
||||
$lua\
|
||||
$nim\
|
||||
$nodejs\
|
||||
$ocaml\
|
||||
$opa\
|
||||
$perl\
|
||||
$php\
|
||||
$pulumi\
|
||||
$purescript\
|
||||
$python\
|
||||
$raku\
|
||||
$rlang\
|
||||
$red\
|
||||
$ruby\
|
||||
$nim\
|
||||
$rust\
|
||||
$scala\
|
||||
$solidity\
|
||||
$swift\
|
||||
$terraform\
|
||||
$vlang\
|
||||
$vagrant\
|
||||
$zig\
|
||||
$buf\
|
||||
[](fg:#86BBD8 bg:#06969A)\
|
||||
$docker_context\
|
||||
$nix_shell\
|
||||
$conda\
|
||||
$meson\
|
||||
$spack\
|
||||
$memory_usage\
|
||||
$aws\
|
||||
$gcloud\
|
||||
$openstack\
|
||||
$azure\
|
||||
$env_var\
|
||||
$crystal\
|
||||
$custom\
|
||||
$sudo\
|
||||
$cmd_duration\
|
||||
](bold teal)
|
||||
[╰─](bold teal) \
|
||||
$jobs\
|
||||
$battery\
|
||||
$time\
|
||||
$status\
|
||||
$os\
|
||||
$guix_shell\
|
||||
$container\
|
||||
$character"""
|
||||
[](fg:#06969A bg:#33658A)\
|
||||
[ ](fg:#33658A)\
|
||||
"""
|
||||
|
||||
[git_branch]
|
||||
symbol = ' '
|
||||
format = 'on [$symbol$branch(:$remote_branch)]($style) '
|
||||
right_format = """
|
||||
[](fg:#1C668D)\
|
||||
$status\
|
||||
[](fg:#76BCD9 bg:#1C668D)\
|
||||
$time\
|
||||
[](fg:#76BCD9)
|
||||
"""
|
||||
|
||||
# You can also replace your username with a neat symbol like or disable this
|
||||
# and use the os module below
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bold blue"
|
||||
style_root = "bold red"
|
||||
format = '[$user]($style) in '
|
||||
disabled = false
|
||||
style_user = "bg:#9A348E"
|
||||
style_root = "bg:#9A348E"
|
||||
format = '[$user ]($style)'
|
||||
disabled = true
|
||||
|
||||
# An alternative to the username module which displays a symbol that
|
||||
# represents the current operating system
|
||||
[os]
|
||||
style = "bg:#9A348E"
|
||||
disabled = false # Disabled by default
|
||||
|
||||
[os.symbols]
|
||||
Alpaquita = "🔔 "
|
||||
Alpine = " "
|
||||
Amazon = " "
|
||||
Android = " "
|
||||
Arch = " "
|
||||
Artix = " "
|
||||
CentOS = " "
|
||||
Debian = " "
|
||||
DragonFly = "🐉 "
|
||||
Emscripten = "🔗 "
|
||||
EndeavourOS = " "
|
||||
Fedora = " "
|
||||
FreeBSD = " "
|
||||
Garuda = "🦅 "
|
||||
Gentoo = " "
|
||||
HardenedBSD = "🛡️ "
|
||||
Illumos = "🐦 "
|
||||
Linux = " "
|
||||
Mabox = "📦 "
|
||||
Macos = " "
|
||||
Manjaro = " "
|
||||
Mariner = "🌊 "
|
||||
MidnightBSD = "🌘 "
|
||||
Mint = " "
|
||||
NetBSD = "🚩 "
|
||||
NixOS = " "
|
||||
OpenBSD = "🐡 "
|
||||
OpenCloudOS = "☁️ "
|
||||
openEuler = "🦉 "
|
||||
openSUSE = " "
|
||||
OracleLinux = "🦴 "
|
||||
Pop = " "
|
||||
Raspbian = " "
|
||||
Redhat = " "
|
||||
RedHatEnterprise = " "
|
||||
Redox = "🧪 "
|
||||
Solus = "⛵ "
|
||||
SUSE = " "
|
||||
Ubuntu = " "
|
||||
Unknown = " "
|
||||
Windows = " "
|
||||
|
||||
[directory]
|
||||
style = "white"
|
||||
format = "[$path]($style)[$read_only]($read_only_style) "
|
||||
style = "bg:#DA627D"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
# Here is how you can shorten some long paths by text replacement
|
||||
# similar to mapped_locations in Oh My Posh:
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Video" = " "
|
||||
"Desktop" = " "
|
||||
"Videos" = " "
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "bg:#FCA17D"
|
||||
format = '[ $symbol $branch ]($style)'
|
||||
truncation_length = 4
|
||||
truncation_symbol = '…'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#FCA17D"
|
||||
format = '[$all_status$ahead_behind ]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[gradle]
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[scala]
|
||||
symbol = " "
|
||||
style = "bg:#86BBD8"
|
||||
format = '[ $symbol ($version) ]($style)'
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "fg:#ffffff bg:#76BCD9"
|
||||
format = '[ $time ]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = ' '
|
||||
style = 'bg:#06969A'
|
||||
format = '[ $symbol$context]($style) '
|
||||
disabled = false
|
||||
|
||||
[nix_shell]
|
||||
symbol = ' '
|
||||
style = 'bg:#06969A'
|
||||
format = '[ $symbol$state \($name\)]($style) '
|
||||
disabled = false
|
||||
|
||||
[guix_shell]
|
||||
style = 'bg:#06969A'
|
||||
symbol = ' '
|
||||
format = '[ $symbol]($style) '
|
||||
disabled = false
|
||||
|
||||
[status]
|
||||
recognize_signal_code = false
|
||||
map_symbol = false
|
||||
style = 'bg:#1C668D'
|
||||
format = '[ $int ]($style)'
|
||||
disabled = false
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
efibootmgr
|
||||
# less like program for listing a file with colors
|
||||
# used as a replacement pager for colored man pages
|
||||
most
|
||||
lazygit
|
||||
lazydocker
|
||||
pandoc
|
||||
|
@ -127,7 +126,6 @@
|
|||
home = {
|
||||
stateVersion = "23.11";
|
||||
sessionVariables = {
|
||||
PAGER = "most"; # use most as pager program for man pages (colors!)
|
||||
EDITOR = "nvim"; # overwrite editor
|
||||
};
|
||||
};
|
||||
|
@ -147,17 +145,12 @@
|
|||
ms-python.vscode-pylance
|
||||
];
|
||||
};
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# ------------------------------------------------------
|
||||
# Config files
|
||||
xdg.configFile."starship.toml".source = config/starship.toml; # starship prompt configuration
|
||||
xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
|
||||
xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
|
||||
# kitty configuration
|
||||
|
@ -171,6 +164,33 @@
|
|||
interactiveShellInit = ''
|
||||
set fish_greeting # Disable greeting
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "fzf-fish";
|
||||
src = pkgs.fishPlugins.fzf-fish.src;
|
||||
}
|
||||
{
|
||||
name = "forgit";
|
||||
src = pkgs.fishPlugins.forgit.src;
|
||||
}
|
||||
{
|
||||
name = "grc";
|
||||
src = pkgs.fishPlugins.grc.src;
|
||||
}
|
||||
{
|
||||
name = "done";
|
||||
src = pkgs.fishPlugins.done.src;
|
||||
}
|
||||
{
|
||||
name = "autopair";
|
||||
src = pkgs.fishPlugins.autopair.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.eza = {
|
||||
|
|
Loading…
Reference in New Issue