mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-01 14:39:39 +00:00
home/ghostty: depend on iosevka font
This commit is contained in:
parent
c1789f2191
commit
6a4748c9d0
1 changed files with 46 additions and 31 deletions
|
|
@ -1,37 +1,52 @@
|
|||
{
|
||||
programs.ghostty.settings = {
|
||||
gtk-titlebar = false;
|
||||
window-decoration = "none";
|
||||
|
||||
font-family = "Iosevka NFM";
|
||||
font-size = 12;
|
||||
|
||||
background = "#fdf6e3";
|
||||
foreground = "#073642";
|
||||
palette = [
|
||||
"0=#073642"
|
||||
"1=#af005f"
|
||||
"2=#859900"
|
||||
"3=#ba9b23"
|
||||
"4=#268bd2"
|
||||
"5=#5f5faf"
|
||||
"6=#2aa198"
|
||||
"7=#a0a1a7"
|
||||
"8=#4d4d4d"
|
||||
"9=#d33682"
|
||||
"10=#29a350"
|
||||
"11=#d6b429"
|
||||
"12=#469edd"
|
||||
"13=#6060d1"
|
||||
"14=#4bccc1" # a platupus? perry the platupus?
|
||||
"15=#eeeadd"
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.programs.ghostty;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [
|
||||
pkgs.nerd-fonts.iosevka
|
||||
];
|
||||
|
||||
confirm-close-surface = false;
|
||||
programs.ghostty.settings = {
|
||||
gtk-titlebar = false;
|
||||
window-decoration = "none";
|
||||
|
||||
keybind = [
|
||||
"ctrl+shift+==increase_font_size:0.5"
|
||||
"ctrl+-=decrease_font_size:0.5"
|
||||
];
|
||||
font-family = "Iosevka NFM";
|
||||
font-size = 12;
|
||||
|
||||
background = "#fdf6e3";
|
||||
foreground = "#073642";
|
||||
palette = [
|
||||
"0=#073642"
|
||||
"1=#af005f"
|
||||
"2=#859900"
|
||||
"3=#ba9b23"
|
||||
"4=#268bd2"
|
||||
"5=#5f5faf"
|
||||
"6=#2aa198"
|
||||
"7=#a0a1a7"
|
||||
"8=#4d4d4d"
|
||||
"9=#d33682"
|
||||
"10=#29a350"
|
||||
"11=#d6b429"
|
||||
"12=#469edd"
|
||||
"13=#6060d1"
|
||||
"14=#4bccc1" # a platupus? perry the platupus?
|
||||
"15=#eeeadd"
|
||||
];
|
||||
|
||||
confirm-close-surface = false;
|
||||
|
||||
keybind = [
|
||||
"ctrl+shift+==increase_font_size:1"
|
||||
"ctrl+-=decrease_font_size:1"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue