test
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
allow_remote_control yes
|
||||
|
||||
'';
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,13 @@
|
||||
(mkIf config.homeconfig.wal.enable (mkBefore ''
|
||||
cat ${config.home.homeDirectory}/.cache/wal/sequences
|
||||
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
|
||||
|
||||
function _colorRefresh() {
|
||||
eval $(oh-my-posh init zsh --config ~/.cache/wal/ohmyposh.toml)
|
||||
zle accept-line
|
||||
}
|
||||
zle -N _colorRefresh
|
||||
bindkey '\r' _colorRefresh
|
||||
''))
|
||||
|
||||
(mkIf (!config.homeconfig.wal.enable) (mkBefore ''
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
mouse = true;
|
||||
|
||||
baseIndex = 1;
|
||||
baseIndex = 0;
|
||||
|
||||
keyMode = "vi";
|
||||
|
||||
@@ -18,6 +18,48 @@
|
||||
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
|
||||
extraConfig = ''
|
||||
set-option -g status-position top
|
||||
|
||||
set -g @background #0B0704
|
||||
set -g @foreground #c2c1c0
|
||||
set -g @color0 #0B0704
|
||||
set -g @color1 #846550
|
||||
set -g @color2 #4a526c
|
||||
set -g @color3 #538281
|
||||
set -g @color4 #7b8179
|
||||
set -g @color5 #b4a589
|
||||
set -g @color6 #78ada3
|
||||
set -g @color7 #958d89
|
||||
set -g @color8 #665b54
|
||||
set -g @color9 #B1876B
|
||||
set -g @color10 #636E90
|
||||
set -g @color11 #6FAEAC
|
||||
set -g @color12 #A5ADA2
|
||||
set -g @color13 #F1DCB7
|
||||
set -g @color14 #A1E7DA
|
||||
set -g @color15 #c2c1c0
|
||||
|
||||
|
||||
source ~/.cache/wal/colors-tmux.conf
|
||||
|
||||
set @p `pwd`
|
||||
|
||||
set-option -g status-interval 1
|
||||
|
||||
set-option -g status-style fg=@background,bg=@color3
|
||||
|
||||
set-option -g status-left-length 50
|
||||
set-option -g status-left "#[fg=@color12,bg=@color1] #[fg=@color1,bg=@color2]◤#[fg=@color14]#{user}@#H#[fg=@color2,bg=@color4]◤#[fg=@color2]#{s|/home/#{user}|~:@p}#[fg=@color4,bg=@background]◤"
|
||||
|
||||
set-option -g status-right "#[fg=@color2]◥#[fg=@color14,bg=@color2]%A %T#[fg=@color1]◥#[fg=@color12,bg=@color1]%D "
|
||||
|
||||
set-option -g window-status-separator '/'
|
||||
set-option -g window-status-format '#[fg=@color3,bg=@color3]◢#[fg=@background,bg=@color3] #{window_index}: #{window_name} #[fg=@color3,bg=@color3]◤'
|
||||
set-option -g window-status-current-format '#[fg=@color11,bg=@color3]◢#[fg=@background,bg=@color11,bold] #{window_index}: #{window_name} #[fg=@color11,bg=@color3]◤'
|
||||
|
||||
'';
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
initContent = lib.mkOrder 1200 ''
|
||||
bindkey ' ' magic-space
|
||||
'';
|
||||
'';
|
||||
|
||||
enableCompletion = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user