mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
cursor_color = "#2CCCE4";
|
|
|
|
in
|
|
{
|
|
programs.wezterm = {
|
|
enable = true;
|
|
package = pkgs.wezterm;
|
|
enableZshIntegration = true;
|
|
|
|
colorSchemes = {
|
|
SeeThroughBlack = {
|
|
ansi = [
|
|
"#000000" "#E44B4B" "#00cd00" "#cdcd00"
|
|
"#0091f1" "#cd00cd" "#00cdcd" "#faebd7"
|
|
];
|
|
brights = [
|
|
"#404040" "#ff0000" "#00ff00" "#ffff00"
|
|
"#48b3fb" "#ff00ff" "#00ffff" "#ffffff"
|
|
];
|
|
foreground = "#F4EFD6";
|
|
background = "#202020";
|
|
|
|
cursor_bg = cursor_color;
|
|
cursor_border = cursor_color;
|
|
|
|
selection_bg = "#8ED1FC";
|
|
selection_fg = "black";
|
|
};
|
|
|
|
};
|
|
|
|
# the "enable_wayland = false" config line forces wezterm to use xwayland instead of wayland
|
|
extraConfig = ''
|
|
local wezterm = require 'wezterm'
|
|
|
|
return {
|
|
enable_wayland = false,
|
|
window_background_opacity = 0.8,
|
|
font = wezterm.font_with_fallback {
|
|
'DejaVuSansMono',
|
|
'DejaVuSansMono-Nerd-Font',
|
|
},
|
|
font_size = 11.0,
|
|
color_scheme = 'SeeThroughBlack',
|
|
hide_tab_bar_if_only_one_tab = true,
|
|
|
|
}
|
|
'';
|
|
|
|
};
|
|
}
|