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} ''; } 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; }