From 210d45a02e146af2ace735abe5631f1bbf10d624 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 2 Feb 2025 07:25:47 -0600 Subject: [PATCH] remove useless kitty action and add socket config --- home-manager/kitty.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/home-manager/kitty.nix b/home-manager/kitty.nix index f5f7350..45d1e3c 100644 --- a/home-manager/kitty.nix +++ b/home-manager/kitty.nix @@ -28,6 +28,10 @@ "map shift+down" = "move_window down"; "map shift+left" = "move_window left"; "map shift+right" = "move_window right"; + + # socket + listen_on = "unix:/tmp/kitty"; + allow_remote_control = "socket-only"; }; }; @@ -37,11 +41,6 @@ protocol file mime image/* action launch --type=overlay kitten icat --hold -- ''${FILE_PATH} - - # Open text/* files with edit - protocol file - mime text/* - action launch edit ''${FILE_PATH} ''; }; }