From b698608860a4cbce8f02b3fb2e3de072dca5dfc8 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Tue, 31 Aug 2021 21:22:57 +0200 Subject: [PATCH] feat: add some configs --- configs/.tmux.conf | 13 ++++++++++--- configs/.zshrc | 3 ++- configs/init.lua | 3 ++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/configs/.tmux.conf b/configs/.tmux.conf index 52bc08a..dc91e91 100644 --- a/configs/.tmux.conf +++ b/configs/.tmux.conf @@ -9,9 +9,6 @@ bind - split-window -v unbind '"' unbind % -# reload config file (change file location to your the tmux.conf you want to use) -bind r source-file ~/.tmux.conf - # switch panes using Alt-arrow without prefix bind -n M-Left select-pane -L bind -n M-Right select-pane -R @@ -25,6 +22,16 @@ set -g mouse on set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' + + set -g @plugin 'dracula/tmux' +set -g @dracula-show-powerline true +set -g @dracula-show-left-icon window +set -g @dracula-show-timezone false +set -g @dracula-plugins "cpu-usage ram-usage" +set -g @dracula-cpu-usage-colors "dark_purple white" +set -g @dracula-show-flags false + +#set -g @plugin "arcticicestudio/nord-tmux" run '~/.tmux/plugins/tpm/tpm' diff --git a/configs/.zshrc b/configs/.zshrc index c9a6407..3caaab4 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -8,6 +8,7 @@ fi ZSH_THEME="powerlevel10k/powerlevel10k" ZSH_TMUX_AUTOSTART=true +ZSH_TMUX_AUTOCONNECT=false plugins=( git @@ -71,7 +72,7 @@ if [ -d "$HOME/.local/bin" ] ; then fi #If fdfind is installed force fzf to use it -if [ -s $(which fdfind) ]; then +if type fdfind > /dev/null ; then # Feed the output of fd into fzf # fdfind --type f | fzf diff --git a/configs/init.lua b/configs/init.lua index 3e6e673..b560318 100644 --- a/configs/init.lua +++ b/configs/init.lua @@ -13,6 +13,7 @@ paq:setup({verbose=true}) { -- Theming Plugins {url="git@github.com:marko-cerovac/material.nvim"}, {url="git@github.com:ryanoasis/vim-devicons"}, + {url="git@github.com:junegunn/fzf"}, {url="git@github.com:xiyaowong/nvim-transparent"}, -- Layout Plugins {url="git@github.com:preservim/nerdtree"}, @@ -93,4 +94,4 @@ if u.has_plugin("material") then else paq.install(); -end \ No newline at end of file +end