~rogeruiz/.files.nix

be8c69e0fbb99f3367bbf34a2896dd11d4c83d0a — Roger Steve Ruiz a month ago b7e9e25
Actualizando configuraciĆ³n y tema pa' mi Terminal
M module/launchd/nighthook.nix => module/launchd/nighthook.nix +6 -0
@@ 68,6 68,12 @@ in
              ${pkgs.tmux}/bin/tmux set -g "@catppuccin_flavour" $FLAVOR
              ${pkgs.tmux}/bin/tmux run ${pkgs.tmuxPlugins.catppuccin}/share/tmux-plugins/catppuccin/catppuccin.tmux

              # NOTE: LS_COLORS
              sed -E \
                -i "" \
                "s/(catppuccin-)[a-z]+/\1$FLAVOR/" \
                $DIR/variables.sh

            }

            cambia_tema $@

M module/tools/terminal/alacritty.toml => module/tools/terminal/alacritty.toml +1 -1
@@ 19,7 19,7 @@ TERM = "xterm-256color"

[font]
builtin_box_drawing = true
size = 15
size = 17

[font.bold]
family = "FantasqueSansM Nerd Font"

M module/tools/terminal/default.nix => module/tools/terminal/default.nix +4 -0
@@ 4,6 4,7 @@ let
  terminalPath = "${config.home.homeDirectory}/.files.nix/module/tools/terminal";
  alacrittyFile = "${terminalPath}/alacritty.toml";
  starshipFile = "${terminalPath}/starship.toml";
  variablesFile = "${terminalPath}/variables.sh";
  link = config.lib.file.mkOutOfStoreSymlink;
in
{


@@ 42,6 43,7 @@ in

    # Some Rust tools that I like to use that replace classic tools not written
    # in Rust
    vivid
    just
    eza
    ripgrep


@@ 94,4 96,6 @@ in
    "alacritty/alacritty.toml".source = (link alacrittyFile);
    "starship.toml".source = (link starshipFile);
  };

  home.file.".local/share/rstrz/.variables".source = (link variablesFile);
}

A module/tools/terminal/variables.sh => module/tools/terminal/variables.sh +8 -0
@@ 0,0 1,8 @@
LS_COLORS=$(vivid generate catppuccin-mocha);

export LS_COLORS;

# Para que los comandos de `gh` se vean bien
# So that commands in `gh` output colors correctly
export COLORFGBG="1;15"


M module/tools/terminal/zshrc => module/tools/terminal/zshrc +2 -0
@@ 83,3 83,5 @@ export PATH="$BUN_INSTALL/bin:$PATH"
# Para que los comandos de `gh` se vean bien
# So that commands in `gh` output colors correctly
export COLORFGBG="1;15"

. "$HOME/.local/share/rstrz/.variables"