diff --git a/openbox/.config/openbox/autostart b/openbox/.config/openbox/autostart index 2215cf7..c3ca491 100755 --- a/openbox/.config/openbox/autostart +++ b/openbox/.config/openbox/autostart @@ -47,8 +47,8 @@ xrdb ~/.Xresources & ## Clipboard manager (sleep 8; parcellite) & -## Tmux plugins -(sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all) & +## Tmuxp +(sleep 9; tmuxp load ~/.tmuxp/local.yaml) & ## Syncthing (sleep 10; syncthing -no-browser -home="$HOME/.config/syncthing") diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index f09ae98..dc48433 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -68,25 +68,5 @@ set -g mouse on bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M" -# Split - # Colorscheme file source-file ~/.tmux/iceberg.tmux.conf - -# List of plugins -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'tmux-plugins/tmux-yank' -set -g @plugin 'tmux-plugins/tmux-sessionist' -set -g @plugin 'tmux-plugins/tmux-resurrect' -set -g @plugin 'tmux-plugins/tmux-continuum' - -# Plugin configuration -set -g @resurrect-processes ':all:' -set -g @resurrect-capture-pane-contents 'on' -set -g @continuum-restore 'on' -set -g @continuum-save-interval '15' -set -g @resurrect-strategy-vim 'session' -set -g @sessionist-goto 'M-C' - -run '~/.tmux/plugins/tpm/tpm' diff --git a/tmux/.tmuxp/local.yaml b/tmux/.tmuxp/local.yaml new file mode 100644 index 0000000..c7c6324 --- /dev/null +++ b/tmux/.tmuxp/local.yaml @@ -0,0 +1,51 @@ +session_name: local +suppress_history: false + +windows: +- window_name: admin + focus: true + layout: even-horizontal + panes: + - su + - su + +- window_name: org + layout: even-horizontal + panes: + - null + - shell_command: + - clear + - sleep 2 + - clear + - khal calendar + +- window_name: canvas + layout: even-horizontal + panes: + - null + - null + +- window_name: docs + layout: even-horizontal + panes: + - man zpool + - man ps + +- window_name: music + panes: + - ncmpcpp + +- window_name: mail + panes: + - neomutt + +- window_name: IM + panes: + - shell_command: + - sleep 2 + - clear + - weechat + +- window_name: stream + panes: + - null