From 74cfb73100858a3ea411b46af7028a5eef0128fe Mon Sep 17 00:00:00 2001 From: Leo Alho Date: Wed, 28 Feb 2024 23:29:47 +0200 Subject: [PATCH] Add plugins for tmux. Update README. Add fonts for alacritty --- .cfg/README.md | 6 ++++++ .config/alacritty/alacritty.toml | 21 +++++++++++++++++++++ .tmux.conf | 8 +++++++- 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.cfg/README.md b/.cfg/README.md index 6f348f4..e502c76 100644 --- a/.cfg/README.md +++ b/.cfg/README.md @@ -10,3 +10,9 @@ This directory is inspired by this https://www.atlassian.com/git/tutorials/dotfi To use the git aliases in your gitconfig. Add the following lines to your .gitconfig: [include] path = ~/.git_aliases, or any other path depending on your $HOME + +## Tmux uses the tpm for plugins +https://github.com/tmux-plugins/tpm + +## Nvim uses vim-plug +https://github.com/junegunn/vim-plug diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 4ffb311..bbbbbc9 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -1,8 +1,29 @@ # [shell] # program = "/bin/bash" # args = ["-l","-c","tmux attach || tmux"] + [window] opacity = 0.75 padding = { x = 5, y = 5} + [colors.primary] background = "#000000" + +[font] +size = 11 + +[font.bold] +family = "SpaceMono Nerd Font Mono" +style = "Bold" + +[font.bold_italic] +family = "SpaceMono Nerd Font Mono" +style = "Bold Italic" + +[font.italic] +family = "SpaceMono Nerd Font Mono" +style = "Italic" + +[font.normal] +family = "SpaceMono Nerd Font Mono" +style = "Regular" diff --git a/.tmux.conf b/.tmux.conf index b76db27..5abecf3 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,4 +1,4 @@ -#Add a mapping for reloading the conf file" +#Add a mapping for reloading the conf file bind r source-file ~/.tmux.conf \; display-message "RELOADING CONFIGURATION FILE…" # remap prefix from 'C-b' to 'C-a' @@ -10,3 +10,9 @@ bind-key C-a send-prefix set -g mouse on set -g status-style bg=white,fg=black + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm'