ghostty+nvim: Add oled mode for darker darks on laptop

This commit is contained in:
Daniel Lundin 2024-11-27 14:04:13 +01:00
parent a7aa9c7a72
commit e1c3fd6cb8
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
4 changed files with 12 additions and 5 deletions
home/common

View file

@ -63,10 +63,12 @@
};
};
xdg.configFile."ghostty/themes/PatagiaDark".text = ''
# background = "#14151a"
# foreground = "#d1d5db"
background = "#000000"
xdg.configFile."ghostty/themes/PatagiaDark".text =
let
background = if config.patagia.oled.enable then "#000000" else "#14151a";
in
''
background = "${background}"
foreground = "#d1d5db"
cursor-color = #00d992
selection-background = #d7d7d7