home, xresources: import colorscheme from tokyonight package
This commit is contained in:
parent
82d46b221e
commit
99b5ec8877
1 changed files with 7 additions and 31 deletions
|
@ -66,11 +66,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
xresources.properties = lib.mkMerge [
|
xresources = {
|
||||||
{
|
properties = {
|
||||||
# Cursor
|
|
||||||
"Xcursor.theme" = "Adwaita";
|
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
"Xft.autohint" = "0";
|
"Xft.autohint" = "0";
|
||||||
"Xft.lcdfilter" = "lcddefault";
|
"Xft.lcdfilter" = "lcddefault";
|
||||||
|
@ -78,30 +75,9 @@
|
||||||
"Xft.hinting" = "1";
|
"Xft.hinting" = "1";
|
||||||
"Xft.antialias" = "1";
|
"Xft.antialias" = "1";
|
||||||
"Xft.rgba" = "rgb";
|
"Xft.rgba" = "rgb";
|
||||||
}
|
};
|
||||||
(lib.mkIf (config.myFlake.home-manager.colorScheme == "tokyonight") {
|
extraConfig =
|
||||||
# Tokyonight color scheme
|
lib.mkIf (config.myFlake.home-manager.colorScheme == "tokyonight")
|
||||||
# i have no idea what does it apply to
|
(builtins.readFile "${pkgs.vimPlugins.tokyonight-nvim}/extras/xresources/tokyonight_night.Xresources");
|
||||||
"*background" = "#1a1b26";
|
};
|
||||||
"*foreground" = "#c0caf5";
|
|
||||||
|
|
||||||
"*color0" = "#15161e";
|
|
||||||
"*color1" = "#f7768e";
|
|
||||||
"*color2" = "#9ece6a";
|
|
||||||
"*color3" = "#e0af68";
|
|
||||||
"*color4" = "#7aa2f7";
|
|
||||||
"*color5" = "#bb9af7";
|
|
||||||
"*color6" = "#7dcfff";
|
|
||||||
"*color7" = "#a9b1d6";
|
|
||||||
|
|
||||||
"*color8" = "#414868";
|
|
||||||
"*color9" = "#f7768e";
|
|
||||||
"*color10" = "#9ece6a";
|
|
||||||
"*color11" = "#e0af68";
|
|
||||||
"*color12" = "#7aa2f7";
|
|
||||||
"*color13" = "#bb9af7";
|
|
||||||
"*color14" = "#7dcfff";
|
|
||||||
"*color15" = "#c0caf5";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue