From 4488c2e00384bb781a4b5e92bccab2c287e272b6 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Thu, 13 Oct 2022 20:51:49 -0700 Subject: [PATCH] Install Nord fcitx5 theme --- fcitx5/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fcitx5/default.nix b/fcitx5/default.nix index 77f1694..73091b5 100644 --- a/fcitx5/default.nix +++ b/fcitx5/default.nix @@ -1,3 +1,5 @@ +{ pkgs, ... }: + { i18n.inputMethod = { enabled = "fcitx5"; @@ -11,4 +13,14 @@ XMODIFIERS = "@im=fcitx"; GLFW_IM_MODULE = "ibus"; # IME support in anthy }; + + home.file = { + ".local/share/fcitx5/themes/Nord-Dark".source = let repo = pkgs.fetchFromGitHub { + owner = "tonyfettes"; + repo = "fcitx5-nord"; + rev = "bdaa8fb723b8d0b22f237c9a60195c5f9c9d74d1"; + sha256 = "qVo/0ivZ5gfUP17G29CAW0MrRFUO0KN1ADl1I/rvchE="; + }; in "${repo}/Nord-Dark"; + ".config/fcitx5/conf/classicui.conf".text = "Theme=Nord-Dark"; + }; }