From bae9a307ad2b6504eed5e073e54a38595d177502 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 25 Feb 2023 10:53:27 -0800 Subject: [PATCH 1/2] fcitx5: ensure local layout folder exists --- modules/fcitx5/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/fcitx5/default.nix b/modules/fcitx5/default.nix index bd15281..0cda3e7 100644 --- a/modules/fcitx5/default.nix +++ b/modules/fcitx5/default.nix @@ -37,9 +37,11 @@ in # $ vim nicola.sty # $ diff $source nicola.sty > nicola.patch home.activation.nicola = let - target = ".local/share/fcitx5/anthy/nicola.sty"; + targetDir = ".local/share/fcitx5/anthy/"; + target = "nicola.sty"; in lib.hm.dag.entryAfter["writeBoundary"] '' + mkdir -p ${targetDir} rm -f -- ${target} - patch -ruN ${pkgs.fcitx5-anthy}/share/fcitx5/anthy/nicola-j.sty ${./nicola.patch} -o ${target} + patch -ruN ${pkgs.fcitx5-anthy}/share/fcitx5/anthy/nicola-j.sty ${./nicola.patch} -o ${targetDir}${target} ''; } From e799468cdece4734fba5f0e3e7a78fce370bf98a Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 25 Feb 2023 10:59:41 -0800 Subject: [PATCH 2/2] xborders: disable version warning --- modules/i3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/i3/default.nix b/modules/i3/default.nix index 5da8475..30b8b86 100644 --- a/modules/i3/default.nix +++ b/modules/i3/default.nix @@ -60,7 +60,7 @@ in with theme.colors; { }; startup = [ { - command = "(systemctl --user restart polybar &) && (nm-applet &) && (nextcloud &) && (xborders --border-rgb ${builtins.substring 1 6 primary}ff --border-radius 12 --border-width 2 --smart-hide-border)"; + command = "(systemctl --user restart polybar &) && (nm-applet &) && (nextcloud &) && (xborders --border-rgb ${builtins.substring 1 6 primary}ff --border-radius 12 --border-width 2 --smart-hide-border --disable-version-warning)"; always = true; notification = false; }