1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/tmux.nix

35 lines
897 B
Nix
Raw Permalink Normal View History

2020-06-10 17:37:25 +02:00
{ pkgs, ... }: {
2019-08-18 11:17:41 +02:00
environment.systemPackages = [
pkgs.tmuxp
pkgs.reptyr # move programs over to a tmux session
];
2019-08-05 09:38:38 +02:00
2019-04-19 03:11:51 +02:00
programs.tmux = {
enable = true;
keyMode = "vi";
2019-06-08 15:00:34 +02:00
clock24 = true;
2019-04-19 03:11:51 +02:00
terminal = "screen-256color";
extraConfig = ''
2019-04-19 03:11:51 +02:00
set -g status-interval 2
set -g status-left-length 32
set -g status-right-length 150
set -g status-bg default
setw -g window-status-format "#[fg=colour12,bg=colour233] #I #[fg=white,bg=colour237] #W "
setw -g window-status-current-format "#[fg=colour12,bg=colour233] * #[fg=white,bg=colour237,bold] #W "
set -g status-left ""
2019-06-08 15:00:34 +02:00
set -g status-right "#[fg=colour255,bg=colour237,bold] %Y-%m-%d #[default]#[fg=colour12,bg=colour233] %H:%M "
2019-04-19 03:11:51 +02:00
set -g status-justify left
set -g status-position bottom
set -g mouse on
unbind *
bind * list-clients
'';
};
}