home, modules: add blackbox and wezterm to ./modules/terms/experimental

This commit is contained in:
Guanran Wang 2023-11-22 14:30:25 +08:00
parent 212fe0dab3
commit b07b91d6b6
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{
lib,
pkgs,
...
}: {
home.packages = [pkgs.blackbox-terminal];
# classic... dconf
dconf.settings."com/raggesilver/BlackBox" = {
pretty = false; # "Theme Integration"
cursor-shape = lib.hm.gvariant.mkUint32 1; # "line" cursor
#show-headerbar = false;
terminal-padding = lib.hm.gvariant.mkTuple [
(lib.hm.gvariant.mkUint32 12)
(lib.hm.gvariant.mkUint32 12)
(lib.hm.gvariant.mkUint32 12)
(lib.hm.gvariant.mkUint32 12)
];
};
# TODO: Tokyo Night
# Example:
#''
# {
# "name": "Gruvbox for Tilix",
# "comment": "Ported for Trilix Colour Scheme",
# "use-theme-colors": false,
# "foreground-color": "#ebdbb2",
# "background-color": "#282828",
# "palette": [
# "#282829",
# "#cc241d",
# "#98971a",
# "#d79921",
# "#458588",
# "#b16286",
# "#689d6a",
# "#a89984",
# "#928374",
# "#fb4934",
# "#b8bb26",
# "#fabd2f",
# "#83a598",
# "#d3869b",
# "#8ec07c",
# "#ebdbb2"
# ]
# }
#'';
}

View file

@ -0,0 +1,17 @@
{...}: {
programs.wezterm = {
enable = true;
extraConfig = ''
return {
color_scheme = "Tokyo Night",
default_cursor_style = 'SteadyBar',
window_padding = {
left = "12px",
right = "12px",
top = "12px",
bottom = "12px",
},
}
'';
};
}