update tmux theme
This commit is contained in:
parent
6e4b916b81
commit
bb34612ac1
|
@ -10,6 +10,9 @@
|
||||||
dynamic_title = true;
|
dynamic_title = true;
|
||||||
opacity = 0.3;
|
opacity = 0.3;
|
||||||
};
|
};
|
||||||
|
env = {
|
||||||
|
TERM = "xterm-256color";
|
||||||
|
};
|
||||||
colors = {
|
colors = {
|
||||||
bright = {
|
bright = {
|
||||||
black = "#555556";
|
black = "#555556";
|
||||||
|
|
|
@ -1,23 +1,8 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
tmux-themepack = pkgs.tmuxPlugins.mkTmuxPlugin {
|
|
||||||
pluginName = "tmux-themepack";
|
|
||||||
rtpFilePath = "themepack.tmux";
|
|
||||||
version = "unstable-2019-12-22";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "jimeh";
|
|
||||||
repo = "tmux-themepack";
|
|
||||||
rev = "7c59902f64dcd7ea356e891274b21144d1ea5948";
|
|
||||||
sha256 = "sha256-c5EGBrKcrqHWTKpCEhxYfxPeERFrbTuDfcQhsUAbic4=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
shell = "${pkgs.zsh}/bin/zsh";
|
shell = "${pkgs.zsh}/bin/zsh";
|
||||||
terminal = "screen-256color";
|
terminal = "tmux-256color";
|
||||||
enable = true;
|
enable = true;
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
shortcut = "a";
|
shortcut = "a";
|
||||||
|
@ -30,18 +15,30 @@ in
|
||||||
pkgs.tmuxPlugins.better-mouse-mode
|
pkgs.tmuxPlugins.better-mouse-mode
|
||||||
pkgs.tmuxPlugins.yank
|
pkgs.tmuxPlugins.yank
|
||||||
{
|
{
|
||||||
plugin = tmux-themepack;
|
plugin = pkgs.tmuxPlugins.catppuccin;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g @themepack "powerline/double/blue"
|
set -g @catppuccin_window_current_color "#0F7FCF"
|
||||||
set-window-option -g status-left " #S "
|
set -g @catppuccin_window_current_background "#1F2430"
|
||||||
set-window-option -g status-right " #{prefix_highlight} \"#(hostname)\" %H:%M %d-%b-%y "
|
set -g @catppuccin_window_default_color "#5a5d70"
|
||||||
set-window-option -g window-status-format " #I: #W "
|
set -g @catppuccin_window_default_background "#181825"
|
||||||
set-window-option -g window-status-current-format " #I: #W "
|
set -g @catppuccin_pane_border_style "fg=#181825"
|
||||||
|
set -g @catppuccin_pane_active_border_style "fg=#023269"
|
||||||
|
set -g @catppuccin_status_background "default"
|
||||||
|
set -g @catppuccin_window_default_text "#W"
|
||||||
|
set -g @catppuccin_window_current_text "#W"
|
||||||
|
set -g @catppuccin_status_modules_right "directory"
|
||||||
|
set -g @catppuccin_window_left_separator ""
|
||||||
|
set -g @catppuccin_window_right_separator " "
|
||||||
|
set -g @catppuccin_directory_color "#0F7FCF"
|
||||||
|
set -g @catppuccin_date_time_text "%Y-%m-%d %H:%M:%S"
|
||||||
|
set -g @catppuccin_menu_selected_style "fg=#{thm_gray},bg=#0F7FCF"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||||
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
||||||
|
@ -52,7 +49,8 @@ in
|
||||||
unbind '"'
|
unbind '"'
|
||||||
unbind %
|
unbind %
|
||||||
|
|
||||||
set-option -g xterm-keys on
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue