tmux session restoration

This commit is contained in:
Rachel Lambda Samuelsson 2023-12-25 16:42:36 +01:00
parent e88216daa7
commit 03a63d681d

View File

@ -284,6 +284,7 @@ in
(nvim-treesitter.withPlugins (p: with p; [ (nvim-treesitter.withPlugins (p: with p; [
org org
])) ]))
vim-obsession
]; ];
}; };
@ -338,7 +339,13 @@ in
set-window-option -g window-status-separator "-" set-window-option -g window-status-separator "-"
set-window-option -g window-status-current-format " #[fg=#b55690 bold]!![ #{b:pane_current_path}/ ] #{b:window_index} $ #{b:pane_current_command}!! " set-window-option -g window-status-current-format " #[fg=#b55690 bold]!![ #{b:pane_current_path}/ ] #{b:window_index} $ #{b:pane_current_command}!! "
set-window-option -g window-status-format " #{b:window_index} [ #{b:pane_current_path}/ ] #{b:pane_current_command} " set-window-option -g window-status-format " #{b:window_index} [ #{b:pane_current_path}/ ] #{b:pane_current_command} "
set -g @resurrect-strategy-nvim 'session'
set -g @resurrect-capture-pane-contents 'on'
''; '';
plugins = with pkgs.tmuxPlugins; [
resurrect
];
}; };
hyfetch = { hyfetch = {