diff --git a/dot_config/environment.d/bitwarden-ssh-agent.conf b/dot_config/environment.d/bitwarden-ssh-agent.conf new file mode 100644 index 0000000..68d9fa3 --- /dev/null +++ b/dot_config/environment.d/bitwarden-ssh-agent.conf @@ -0,0 +1 @@ +SSH_AUTH_SOCK=/home/VampireJSV/.bitwarden-ssh-agent.sock diff --git a/dot_config/environment.d/gtk-im.conf b/dot_config/environment.d/gtk-im.conf new file mode 100644 index 0000000..a399a98 --- /dev/null +++ b/dot_config/environment.d/gtk-im.conf @@ -0,0 +1 @@ +GTK_IM_MODULE=xim diff --git a/dot_config/fastfetch/config.jsonc b/dot_config/fastfetch/config.jsonc new file mode 100644 index 0000000..6de8bc5 --- /dev/null +++ b/dot_config/fastfetch/config.jsonc @@ -0,0 +1,35 @@ +{ + "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", + "logo": { + "type": "auto", + "padding": { + "top": 1, + "left": 2 + } + }, + "display": { + "separator": " ", + "color": { + "keys": "35" + } + }, + "modules": [ + "title", + "separator", + "os", + "host", + "kernel", + "uptime", + "packages", + "shell", + "terminal", + "wm", + "de", + "cpu", + "gpu", + "memory", + "disk", + "break", + "colors" + ] +} diff --git a/dot_config/starship.toml b/dot_config/starship.toml index 7c2b9d1..13c2057 100644 --- a/dot_config/starship.toml +++ b/dot_config/starship.toml @@ -1,26 +1,128 @@ -# starship — tema Catppuccin Mocha +"$schema" = 'https://starship.rs/config-schema.json' + +add_newline = false + palette = "catppuccin_mocha" -format = "$directory$git_branch$git_status$python$rust$nodejs$cmd_duration$character" +format = """ +[](fg:#a277ff)\ +[ ](bg:#a277ff fg:#1e1e2e)\ +[](fg:#a277ff bg:#61afef)\ +[ $directory](bg:#61afef fg:#1e1e2e)\ +[](fg:#61afef)\ +$git_branch\ +$git_status\ +$nodejs\ +$python\ +$rust\ +$golang\ +$java\ +$docker_context\ +$cmd_duration\ +$line_break\ +$character""" -[character] -success_symbol = "[➜](green)" -error_symbol = "[➜](red)" +right_format = """ +[](fg:#1e1e2e)\ +$time\ +""" [directory] +style = "bg:#61afef fg:#1e1e2e" +format = "[$path]($style)[$read_only]($read_only_style) " truncation_length = 3 -style = "blue" +truncate_to_repo = true +home_symbol = " ~" +read_only = " 󰌾" +read_only_style = "bg:#61afef fg:#f38ba8" [git_branch] -style = "mauve" +symbol = " " +style = "bg:#e0af68 fg:#1e1e2e" +format = "[](fg:#61afef bg:#e0af68)[ $symbol$branch ]($style)[](fg:#e0af68) " + +[git_status] +style = "bold peach" +format = '([$all_status$ahead_behind]($style)) ' +conflicted = "=" +ahead = "⇡${count}" +behind = "⇣${count}" +diverged = "⇕⇡${ahead_count}⇣${behind_count}" +untracked = "?${count}" +stashed = "*${count}" +modified = "!${count}" +staged = "+${count}" +renamed = "»${count}" +deleted = "✘${count}" + +[nodejs] +symbol = "" +style = "bold green" +format = "[$symbol $version]($style) " + +[python] +symbol = "" +style = "bold yellow" +format = "[$symbol $version]($style) " + +[rust] +symbol = "" +style = "bold red" +format = "[$symbol $version]($style) " + +[golang] +symbol = "" +style = "bold sky" +format = "[$symbol $version]($style) " + +[java] +symbol = "" +style = "bold maroon" +format = "[$symbol $version]($style) " + +[docker_context] +symbol = "" +style = "bold blue" +format = "[$symbol $context]($style) " [cmd_duration] min_time = 2000 -style = "yellow" +style = "bold yellow" +format = "took [$duration]($style) " + +[time] +disabled = false +style = "bg:#1e1e2e fg:#c0caf5" +format = "[ $time ]($style)" +time_format = "%I:%M:%S %p" + +[character] +success_symbol = "[❯](bold #a277ff)" +error_symbol = "[❯](bold red)" +vimcmd_symbol = "[❮](bold #a277ff)" [palettes.catppuccin_mocha] -blue = "#89b4fa" -green = "#a6e3a1" -red = "#f38ba8" -yellow = "#f9e2af" +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" diff --git a/dot_zshrc b/dot_zshrc index 1655083..ec82345 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -1,5 +1,8 @@ # ~/.zshrc — gestionado por chezmoi (repo configs) +# Banner de bienvenida +command -v fastfetch >/dev/null && [[ $- == *i* ]] && fastfetch + # Historia HISTFILE=~/.zsh_history HISTSIZE=10000 @@ -27,3 +30,8 @@ command -v starship>/dev/null && eval "$(starship init zsh)" export EDITOR=nvim export PATH="$HOME/.local/bin:$PATH" + +# Bitwarden como contenedor/agente de llaves SSH +if [ -S "$HOME/.bitwarden-ssh-agent.sock" ]; then + export SSH_AUTH_SOCK="$HOME/.bitwarden-ssh-agent.sock" +fi