From b4ff44cb09b23eef2f65fdb0f093cf265ec0e6ad Mon Sep 17 00:00:00 2001 From: Christoph Hollizeck Date: Mon, 21 Oct 2024 00:45:10 +0200 Subject: [PATCH] kitty: set as default terminal in thunar --- modules/home/apps/kitty/default.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/modules/home/apps/kitty/default.nix b/modules/home/apps/kitty/default.nix index b1d1268..cfff92f 100644 --- a/modules/home/apps/kitty/default.nix +++ b/modules/home/apps/kitty/default.nix @@ -17,6 +17,27 @@ in config = mkIf cfg.enable { home.packages = [ pkgs.kitty ]; + home.sessionVariables.TERMINAL = "kitty"; + + # TODO: move this to a thunar specific module + home.file.".config/Thunar/uca.xml".text = '' + + + + kitty + Open Kitty here + + 1726095927116900-1 + ${pkgs.kitty}/bin/kitty %f + Example for a custom action + + * + + + + + ''; + programs.kitty = { enable = true; themeFile = "tokyo_night_night";