feat: add alacritty alabaster color theme patch
This commit is contained in:
parent
0975ba3044
commit
d0e097574e
3 changed files with 29 additions and 2 deletions
|
|
@ -24,6 +24,7 @@
|
||||||
# languages
|
# languages
|
||||||
gcc13
|
gcc13
|
||||||
clang
|
clang
|
||||||
|
universal-ctags
|
||||||
rustc
|
rustc
|
||||||
cargo
|
cargo
|
||||||
go
|
go
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,31 @@
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
common = (import ../common.nix) { pkgs = pkgs; lib = lib; };
|
common = (import ../common.nix) { pkgs = pkgs; lib = lib; };
|
||||||
|
alabaster-theme-patch = builtins.toFile "alabaster.patch" ''
|
||||||
|
diff --git a/alabaster.toml b/alabaster.toml
|
||||||
|
index df312d3..f5e5499 100644
|
||||||
|
--- a/alabaster.toml
|
||||||
|
+++ b/alabaster.toml
|
||||||
|
@@ -2,11 +2,11 @@
|
||||||
|
# author tonsky
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
-background = '#F7F7F7'
|
||||||
|
+background = '#FFFFFF'
|
||||||
|
foreground = '#434343'
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
-text = '#F7F7F7'
|
||||||
|
+text = '#FFFFFF'
|
||||||
|
cursor = '#434343'
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
'';
|
||||||
|
alacritty-theme-patched = pkgs.alacritty-theme.overrideAttrs (final: previous: {
|
||||||
|
patches = [
|
||||||
|
alabaster-theme-patch
|
||||||
|
];
|
||||||
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
|
|
@ -9,8 +34,7 @@ in
|
||||||
import = [
|
import = [
|
||||||
# Available themes:
|
# Available themes:
|
||||||
# https://github.com/alacritty/alacritty-theme
|
# https://github.com/alacritty/alacritty-theme
|
||||||
|
"${alacritty-theme-patched}/alabaster.toml"
|
||||||
"${pkgs.alacritty-theme}/alabaster.toml"
|
|
||||||
];
|
];
|
||||||
env.TERM = "xterm-256color";
|
env.TERM = "xterm-256color";
|
||||||
font = {
|
font = {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,11 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
|
/*
|
||||||
xdg.configFile."nvim" = {
|
xdg.configFile."nvim" = {
|
||||||
source = ./config;
|
source = ./config;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue