Tmux : Disable old style.

This commit is contained in:
Dmitry Voronin 2024-04-03 01:50:01 +03:00
parent 09ee745510
commit 919637b9db
2 changed files with 11 additions and 11 deletions

View file

@ -110,8 +110,8 @@
# Wallpaper.
wallpaper = { pkgs, ...}: let
url = "https://4kwallpapers.com/images/wallpapers/nasa-space-3840x2160-15925.jpg";
sha256 = "sha256-r753IGaNwWWRaFdlf9bCiU2K7v4sSKfi6P2ANYwqgKg=";
url = "https://4kwallpapers.com/images/wallpapers/the-walking-dead-3840x2160-15616.jpg";
sha256 = "sha256-X+gH8bO936J2Pzh0Z3gMCnvlToX1FXQuTVvWwO6/jfI=";
in {
path = pkgs.fetchurl {
url = url;

View file

@ -21,11 +21,11 @@ bind -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
# Selection style.
set -g mode-style "fg=#$bg_3 bg=#$accent bold"
# set -g mode-style "fg=#$bg_3 bg=#$accent bold"
# Pane style.
set -g pane-border-style "fg=#$bg_1"
set -g pane-active-border-style "fg=#$bg_1"
# set -g pane-border-style "fg=#$bg_1"
# set -g pane-active-border-style "fg=#$bg_1"
# Remap split keys.
bind -n M-\\ split-window -h -c "#{pane_current_path}"
@ -68,23 +68,23 @@ bind-key -n M-f run-shell 'tmux_script togglestatusbar'
set -g status-interval 2
set -g status-position bottom
set -g status-justify left
set -g status-style "bg=#$bg_2 fg=#$fg_3"
# set -g status-style "bg=#$bg_2 fg=#$fg_3"
set -g status-left "#[bold,bg=#$fg_3,fg=#$bg_3] #H-#S #(tmux_script client_count #S)#[bg=#$bg_2,fg=#$fg_3]"
set -g status-left " #H-#S #(tmux_script client_count #S)"
set -g status-left-length 50
set -g status-right-length 50
set -g status-right "#(tmux_script statusbar) %d %a #[fg=#$fg_3]#[bold,bg=#$fg_3,fg=#$bg_3] %H:%M "
set -g status-right "#(tmux_script statusbar) %d %a  %H:%M "
set-window-option -g window-status-separator ""
setw -g window-status-current-style "fg=#$fg bold"
# setw -g window-status-current-style "fg=#$fg bold"
setw -g window-status-current-format " #W "
setw -g window-status-style ""
# setw -g window-status-style ""
setw -g window-status-format " #W "
set-window-option -g visual-bell off
setw -g window-status-bell-style "bold blink"
# setw -g window-status-bell-style "bold blink"
# Create new window.
bind -n M-Escape new-window -c "#{pane_current_path}"