From 2e5873fab55cf3f9f1ce7bcfc66956326267aca0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 25 May 2025 15:32:38 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 5 ++++- accounts/gkleen@sif/niri/default.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 041ffa9e..6671e5c7 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -517,7 +517,7 @@ in { libguestfs-with-appliance nerd-fonts.fira-mono nerd-fonts.symbols-only nerd-fonts.fira-code powerline-fonts swtpm (hunspellWithDicts (with hunspellDicts; [en_GB-large de_DE])) - libation + libation libqalculate ] ++ mapAttrsToList (_name: pkg: pkgs.callPackage pkg {}) (customUtils.nixImport { dir = ./utils; }); file = { @@ -577,6 +577,9 @@ in { General = { dot_as_separator = 0; }; + Mode = { + calculate_as_you_type = 1; + }; }; }; "emacs/init.el".source = pkgs.substitute { diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix index 8c78738e..caf66ab5 100644 --- a/accounts/gkleen@sif/niri/default.nix +++ b/accounts/gkleen@sif/niri/default.nix @@ -816,7 +816,7 @@ in { QALC_RES="$FUZZEL_RES" QALC_RET=0 else - QALC_RES=$(qalc "$FUZZEL_RES" 2>&1) + QALC_RES=$(qalc -set "autocalc off" "$FUZZEL_RES" 2>&1) QALC_RET=$? fi [[ -n "$QALC_RES" ]] || exit 1 -- cgit v1.2.3