diff --git a/splitAUTHENTICATION b/splitAUTHENTICATION index f3b0390..01297d2 100644 --- a/splitAUTHENTICATION +++ b/splitAUTHENTICATION @@ -51,8 +51,13 @@ if-shell -b 'test -n $TMUX' { ## Window for authentication tools display-message "Create a new window for Authentication" + ### Gpg key new-window -nAuthTmux 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout' + ### SSH key ED25519 split-window -h 'ssh-add -l | grep -qi -- "(ed25519)" || ssh-add ~/.ssh/id_ed25519 ; logout' + ### SSH key RSA (if available) + if-shell -b 'test -n ~/.ssh/id_rsa' { split-window -v 'ssh-add -l | grep -qi -- "(RSA)" || ssh-add ~/.ssh/id_rsa ; logout' } + ### Enable synchronization between all panels set-window-option synchronize-panes on } # }}}