dotfiles/modules/tmux.nix

31 lines
666 B
Nix
Raw Normal View History

2023-07-26 13:04:43 -04:00
{ pkgs, ... }:
2022-08-27 10:57:48 -04:00
{
programs = {
tmux = {
enable = true;
clock24 = true;
2024-06-21 10:51:03 -04:00
mouse = true;
2022-08-27 10:57:48 -04:00
plugins = with pkgs.tmuxPlugins; [
sensible
yank
{
plugin = dracula;
extraConfig = ''
set -g @dracula-show-battery true
set -g @dracula-show-fahrenheit false
set -g @dracula-show-left-icon session
set -g @dracula-show-powerline true
set -g @dracula-refresh-rate 10
'';
}
];
extraConfig = ''
set -g set-titles on
set -g set-titles-string "[#S] #W@#h (#I)"
'';
shortcut = "o";
};
};
}