You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
571 B
23 lines
571 B
2 years ago
|
{ pkgs, ... }:
|
||
|
|
||
2 years ago
|
with import ../theme; let
|
||
|
themeFolder = ".local/share/fcitx5/themes/${theme}/";
|
||
2 years ago
|
in
|
||
2 years ago
|
{
|
||
|
i18n.inputMethod = {
|
||
|
enabled = "fcitx5";
|
||
2 years ago
|
fcitx5.addons = with pkgs; [ fcitx5-anthy ];
|
||
2 years ago
|
};
|
||
|
|
||
2 years ago
|
home.file = {
|
||
2 years ago
|
"${themeFolder}theme.conf".source = with colors; pkgs.substituteAll ({
|
||
|
src = ./theme.conf;
|
||
|
background = "${bg1}80";
|
||
|
highlight = bg0;
|
||
|
} // colors);
|
||
2 years ago
|
"${themeFolder}arrow.png".source = ./arrow.png;
|
||
|
"${themeFolder}radio.png".source = ./radio.png;
|
||
2 years ago
|
".config/fcitx5/conf/classicui.conf".text = "Theme=${theme}";
|
||
2 years ago
|
};
|
||
2 years ago
|
}
|