ghostty+nvim: Add oled mode for darker darks on laptop
This commit is contained in:
parent
a7aa9c7a72
commit
e1c3fd6cb8
4 changed files with 12 additions and 5 deletions
|
@ -19,4 +19,5 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment";
|
options.patagia.desktop.enable = lib.mkEnableOption "Desktop environment";
|
||||||
|
options.patagia.oled.enable = lib.mkEnableOption "Darker darks on oled screens";
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,10 +63,12 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile."ghostty/themes/PatagiaDark".text = ''
|
xdg.configFile."ghostty/themes/PatagiaDark".text =
|
||||||
# background = "#14151a"
|
let
|
||||||
# foreground = "#d1d5db"
|
background = if config.patagia.oled.enable then "#000000" else "#14151a";
|
||||||
background = "#000000"
|
in
|
||||||
|
''
|
||||||
|
background = "${background}"
|
||||||
foreground = "#d1d5db"
|
foreground = "#d1d5db"
|
||||||
cursor-color = #00d992
|
cursor-color = #00d992
|
||||||
selection-background = #d7d7d7
|
selection-background = #d7d7d7
|
||||||
|
|
|
@ -39,7 +39,7 @@ local colors = {
|
||||||
},
|
},
|
||||||
|
|
||||||
dark = {
|
dark = {
|
||||||
background = hsl(230, 13, 9),
|
background = "NONE",
|
||||||
foreground = hsl(216, 12, 84),
|
foreground = hsl(216, 12, 84),
|
||||||
|
|
||||||
accent1 = hsl(12, 100, 50),
|
accent1 = hsl(12, 100, 50),
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patagia = {
|
||||||
|
oled.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
enabled-extensions = [ "Battery-Health-Charging@maniacx.github.com" ];
|
enabled-extensions = [ "Battery-Health-Charging@maniacx.github.com" ];
|
||||||
|
|
Loading…
Reference in a new issue