Use modules folder

This commit is contained in:
Elnu 2023-01-25 20:15:06 -08:00
parent e42f845f09
commit 2903676336
46 changed files with 21 additions and 21 deletions

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
with import ../theme; let
themeFolder = ".local/share/fcitx5/themes/${theme}/";
in
{
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [ fcitx5-anthy ];
};
home.file = {
"${themeFolder}theme.conf".source = with colors; pkgs.substituteAll ({
src = ./theme.conf;
background = "${bg1}80";
highlight = bg0;
} // colors);
"${themeFolder}arrow.png".source = ./arrow.png;
"${themeFolder}radio.png".source = ./radio.png;
".config/fcitx5/conf/classicui.conf".text = "Theme=${theme}";
};
}