feat: various terminal improvements
This commit is contained in:
parent
a6484738f1
commit
a909478758
3 changed files with 40 additions and 15 deletions
|
@ -2,7 +2,7 @@ local wezterm = require("wezterm")
|
||||||
|
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
|
|
||||||
config.color_scheme = "nordfox"
|
config.color_scheme = "Gruvbox Material (Gogh)"
|
||||||
config.use_fancy_tab_bar = false
|
config.use_fancy_tab_bar = false
|
||||||
config.window_decorations = "RESIZE"
|
config.window_decorations = "RESIZE"
|
||||||
config.hide_tab_bar_if_only_one_tab = true
|
config.hide_tab_bar_if_only_one_tab = true
|
||||||
|
@ -12,7 +12,7 @@ config.font = wezterm.font_with_fallback({
|
||||||
})
|
})
|
||||||
|
|
||||||
config.font_size = 13
|
config.font_size = 13
|
||||||
config.line_height = 1.2
|
-- config.line_height = 1.2
|
||||||
|
|
||||||
config.set_environment_variables = {
|
config.set_environment_variables = {
|
||||||
TERM = "xterm-256color",
|
TERM = "xterm-256color",
|
||||||
|
@ -37,7 +37,7 @@ config.unix_domains = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
config.freetype_load_flags = "DEFAULT"
|
config.freetype_load_flags = "DEFAULT"
|
||||||
config.window_background_opacity = 0.95
|
config.window_background_opacity = 1.00
|
||||||
config.max_fps = 144
|
config.max_fps = 144
|
||||||
config.scrollback_lines = 10000
|
config.scrollback_lines = 10000
|
||||||
|
|
||||||
|
|
|
@ -72,19 +72,44 @@ in {
|
||||||
plugins = with pkgs.tmuxPlugins; [
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
vim-tmux-navigator
|
vim-tmux-navigator
|
||||||
yank
|
yank
|
||||||
resurrect
|
|
||||||
{
|
{
|
||||||
plugin = continuum;
|
plugin = catppuccin;
|
||||||
extraConfig = ''
|
extraConfig = /*tmux*/ ''
|
||||||
set -g @continuum-restore 'on'
|
# NOTE: you can use vars with $<var> and $${<var>} as long as the str is double quoted: ""
|
||||||
'';
|
# WARNING: hex colors can't contain capital letters
|
||||||
}
|
|
||||||
{
|
# --> Gruvbox (Material)
|
||||||
plugin = nord;
|
set -g @thm_bg "#222526"
|
||||||
extraConfig = ''
|
set -g @thm_fg "#d4be98"
|
||||||
|
set -g @thm_cyan "#89b482"
|
||||||
|
set -g @thm_black "#665c54"
|
||||||
|
set -g @thm_gray "#504945"
|
||||||
|
set -g @thm_magenta "#d3869b"
|
||||||
|
set -g @thm_pink "#ea6962"
|
||||||
|
set -g @thm_red "#ea6962"
|
||||||
|
set -g @thm_green "#a9b665"
|
||||||
|
set -g @thm_yellow "#d8a657"
|
||||||
|
set -g @thm_blue "#7daea3"
|
||||||
|
set -g @thm_orange "#e78a4e"
|
||||||
|
set -g @thm_black4 "#928374"
|
||||||
|
|
||||||
|
set -g @catppuccin_window_status_style "slanted"
|
||||||
set -g status-position top
|
set -g status-position top
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
# resurrect
|
||||||
|
# {
|
||||||
|
# plugin = continuum;
|
||||||
|
# extraConfig = ''
|
||||||
|
# set -g @continuum-restore 'on'
|
||||||
|
# '';
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# plugin = nord;
|
||||||
|
# extraConfig = ''
|
||||||
|
# set -g status-position top
|
||||||
|
# '';
|
||||||
|
# }
|
||||||
# {
|
# {
|
||||||
# plugin = tokyo-night-tmux;
|
# plugin = tokyo-night-tmux;
|
||||||
# extraConfig = ''
|
# extraConfig = ''
|
||||||
|
|
|
@ -35,7 +35,7 @@ in {
|
||||||
]);
|
]);
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
NIX_AUTO_RUN = "1";
|
NIX_AUTO_RUN = "1";
|
||||||
FLAKE = "/home/valerie/nixos";
|
NH_FLAKE = "/home/valerie/nixos";
|
||||||
};
|
};
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue