From ece7731cc707ae0d7af071aa524cfc59438b4d39 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Wed, 27 Nov 2024 10:28:03 +0100 Subject: [PATCH] Overwrite kitty command --- modules/home/shell/aliases.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/shell/aliases.nix b/modules/home/shell/aliases.nix index 52d4dbc..90bb871 100644 --- a/modules/home/shell/aliases.nix +++ b/modules/home/shell/aliases.nix @@ -2,6 +2,7 @@ config, pkgs, lib, + wrappers, ... }: { @@ -33,10 +34,15 @@ { cat = "bat --plain --theme=${theme}"; }; + + kittyAlias = { + kitty = lib.getExe (wrappers.kitty { inherit (config.myConfig.de) theme; }); + }; in lib.mkMerge [ lsAliases catAlias + kittyAlias ]; }; }