diff --git a/.gitmodules b/.gitmodules index 3a30e4f..cc131e9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,3 +25,6 @@ [submodule "tmux/.tmux/plugins/tmux-project"] path = tmux/.tmux/plugins/tmux-project url = https://git::@github.com/sei40kr/tmux-project +[submodule "tmux-bitwarden"] + path = tmux/.tmux/plugins/tmux-bitwarden + url = https://github.com/Alkindi42/tmux-bitwarden.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 9d69356..555ecd7 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -25,6 +25,7 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'catppuccin/tmux' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'sei40kr/tmux-project' +set -g @plugin 'Alkindi42/tmux-bitwarden' set-option -g @plugin 'b0o/tmux-autoreload' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' @@ -85,6 +86,11 @@ set -g @continuum-restore 'on' # Project options set -ag @project-base-dirs ,"${HOME}/.dotfiles","${HOME}/Projects:0:2" +# Bitwarden plugin setup +set -g @bw-session 'BW_SESSION' +set -g @bw-copy-to-clipboard 'on' +set -g @bw-key 'T' + # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' diff --git a/tmux/.tmux/plugins/tmux-bitwarden b/tmux/.tmux/plugins/tmux-bitwarden new file mode 160000 index 0000000..5b1b668 --- /dev/null +++ b/tmux/.tmux/plugins/tmux-bitwarden @@ -0,0 +1 @@ +Subproject commit 5b1b668cb38fa1e8f0e320ea013a301cb1090499