direnv, starship, themes
This commit is contained in:
parent
57e535612c
commit
2ed5e86a0e
6 changed files with 99 additions and 122 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
# freecad
|
# freecad
|
||||||
# gh
|
# gh
|
||||||
# vulkan-loader
|
# vulkan-loader
|
||||||
|
direnv
|
||||||
qFlipper
|
qFlipper
|
||||||
hyperfine
|
hyperfine
|
||||||
jq
|
jq
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,8 @@
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
services.fprintd.enable = true;
|
services.fprintd.enable = true;
|
||||||
|
|
||||||
|
systemd.services."backlight@backlight:amdgpu_bl2".enable = false;
|
||||||
|
|
||||||
# TODO investigate tradeoffs
|
# TODO investigate tradeoffs
|
||||||
# services.beesd.filesystems = {
|
# services.beesd.filesystems = {
|
||||||
# root = {
|
# root = {
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableNushellIntegration = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
jujutsu = {
|
jujutsu = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
settings = {
|
settings = {
|
||||||
theme = "dracula";
|
theme = "gruvbox_dark_hard";
|
||||||
editor = {
|
editor = {
|
||||||
# rainbow-brackets = true;
|
# rainbow-brackets = true;
|
||||||
line-number = "relative";
|
line-number = "relative";
|
||||||
|
|
|
||||||
|
|
@ -1,152 +1,120 @@
|
||||||
command_timeout = 1000
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
[](#9A348E)\
|
[](color_orange)\
|
||||||
$username\
|
$username\
|
||||||
[](bg:#DA627D fg:#9A348E)\
|
[](bg:color_yellow fg:color_orange)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:#DA627D bg:#FCA17D)\
|
[](fg:color_yellow bg:color_aqua)\
|
||||||
$git_branch\
|
[](fg:color_aqua bg:color_blue)\
|
||||||
$git_status\
|
|
||||||
[](fg:#FCA17D bg:#86BBD8)\
|
|
||||||
$c\
|
$c\
|
||||||
$elixir\
|
|
||||||
$elm\
|
|
||||||
$golang\
|
|
||||||
$gradle\
|
|
||||||
$haskell\
|
|
||||||
$java\
|
|
||||||
$julia\
|
|
||||||
$nodejs\
|
|
||||||
$nim\
|
|
||||||
$rust\
|
$rust\
|
||||||
$scala\
|
$golang\
|
||||||
[](fg:#86BBD8 bg:#06969A)\
|
$nodejs\
|
||||||
|
$java\
|
||||||
|
$kotlin\
|
||||||
|
$python\
|
||||||
|
[](fg:color_blue bg:color_bg3)\
|
||||||
$docker_context\
|
$docker_context\
|
||||||
[](fg:#06969A bg:#33658A)\
|
$conda\
|
||||||
[ ](fg:#33658A)\
|
[](fg:color_bg3 bg:color_bg1)\
|
||||||
$nix_shell\
|
$time\
|
||||||
"""
|
[ ](fg:color_bg1)\
|
||||||
|
$line_break$character"""
|
||||||
|
|
||||||
# Disable the blank line at the start of the prompt
|
palette = 'gruvbox_dark'
|
||||||
# add_newline = false
|
|
||||||
|
|
||||||
# You can also replace your username with a neat symbol like or disable this
|
[palettes.gruvbox_dark]
|
||||||
# and use the os module below
|
color_fg0 = '#fbf1c7'
|
||||||
[username]
|
color_bg1 = '#3c3836'
|
||||||
show_always = true
|
color_bg3 = '#665c54'
|
||||||
style_user = "bg:#9A348E"
|
color_blue = '#458588'
|
||||||
style_root = "bg:#9A348E"
|
color_aqua = '#689d6a'
|
||||||
format = '[$user ]($style)'
|
color_green = '#98971a'
|
||||||
disabled = false
|
color_orange = '#d65d0e'
|
||||||
|
color_purple = '#b16286'
|
||||||
|
color_red = '#cc241d'
|
||||||
|
color_yellow = '#d79921'
|
||||||
|
|
||||||
# An alternative to the username module which displays a symbol that
|
# [username]
|
||||||
# represents the current operating system
|
# show_always = true
|
||||||
[os]
|
# style_user = "bg:color_orange fg:color_fg0"
|
||||||
style = "bg:#9A348E"
|
# style_root = "bg:color_orange fg:color_fg0"
|
||||||
disabled = true # Disabled by default
|
# format = '[ $user ]($style)'
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "bg:#DA627D"
|
style = "fg:color_fg0 bg:color_yellow"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = "…/"
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
# Here is how you can shorten some long paths by text replacement
|
|
||||||
# similar to mapped_locations in Oh My Posh:
|
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
"Documents" = " "
|
"documents" = " "
|
||||||
"Downloads" = " "
|
"downloads" = " "
|
||||||
"Music" = " "
|
"music" = " "
|
||||||
"Pictures" = " "
|
"pictures" = " "
|
||||||
# Keep in mind that the order matters. For example:
|
|
||||||
# "Important Documents" = " "
|
|
||||||
# will not be replaced, because "Documents" was already substituted before.
|
|
||||||
# So either put "Important Documents" before "Documents" or use the substituted version:
|
|
||||||
# "Important " = " "
|
|
||||||
|
|
||||||
[c]
|
# [git_branch]
|
||||||
symbol = " "
|
# symbol = ""
|
||||||
style = "bg:#86BBD8"
|
# style = "bg:color_aqua"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
# format = '[[ $symbol $branch ](fg:color_fg0 bg:color_aqua)]($style)'
|
||||||
|
|
||||||
[docker_context]
|
# [git_status]
|
||||||
symbol = " "
|
# style = "bg:color_aqua"
|
||||||
style = "bg:#06969A"
|
# format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)'
|
||||||
format = '[ $symbol $context ]($style) $path'
|
|
||||||
|
|
||||||
[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)'
|
|
||||||
|
|
||||||
[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]
|
[nodejs]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#86BBD8"
|
style = "bg:color_blue"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
[nim]
|
[c]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bg:#86BBD8"
|
style = "bg:color_blue"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:#86BBD8"
|
style = "bg:color_blue"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
[scala]
|
[golang]
|
||||||
symbol = " "
|
symbol = ""
|
||||||
style = "bg:#86BBD8"
|
style = "bg:color_blue"
|
||||||
format = '[ $symbol ($version) ]($style)'
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:color_blue"
|
||||||
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
|
[kotlin]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:color_blue"
|
||||||
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:color_blue"
|
||||||
|
format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)'
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R" # Hour:Minute Format
|
time_format = "%R"
|
||||||
style = "bg:#33658A"
|
style = "bg:color_bg1"
|
||||||
format = '[ ♥ $time ]($style)'
|
format = '[[ $time ](fg:color_fg0 bg:color_bg1)]($style)'
|
||||||
|
|
||||||
[nix_shell]
|
[line_break]
|
||||||
disabled = false
|
disabled = false
|
||||||
impure_msg = '[impure shell](bold red)'
|
|
||||||
pure_msg = '[pure shell](bold green)'
|
[character]
|
||||||
unknown_msg = '[unknown shell](bold yellow)'
|
disabled = false
|
||||||
format = 'via [☃️ $state( \($name\))](bold blue)'
|
success_symbol = '[](bold fg:color_green)'
|
||||||
|
error_symbol = '[](bold fg:color_red)'
|
||||||
|
vimcmd_symbol = '[](bold fg:color_green)'
|
||||||
|
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
||||||
|
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||||
|
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
||||||
|
|
||||||
|
[[battery.display]]
|
||||||
|
thershold = 42
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
local wezterm = require 'wezterm';
|
local wezterm = require 'wezterm';
|
||||||
local config = {
|
local config = {
|
||||||
font = wezterm.font 'FiraCode Nerd Font',
|
font = wezterm.font 'FiraCode Nerd Font',
|
||||||
color_scheme = 'Dracula',
|
color_scheme = 'GruvboxDarkHard',
|
||||||
warn_about_missing_glyphs = false,
|
warn_about_missing_glyphs = false,
|
||||||
check_for_updates = false,
|
check_for_updates = false,
|
||||||
hide_tab_bar_if_only_one_tab = true,
|
hide_tab_bar_if_only_one_tab = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue