Make kitty default terminal in nemo and add VimInKitty desktop entry as default text editor.

This commit is contained in:
Lauren Lagarde 2025-06-28 19:24:55 -05:00
parent 4ef5eb923f
commit a19b6b068f
1 changed files with 27 additions and 0 deletions

View File

@ -33,4 +33,31 @@
# Fix KiTTY SSH Misbehavior
[[ "$TERM" == "xterm-kitty" ]] && alias ssh="TERM=xterm-256color ssh"
'';
dconf = {
settings = {
"org/cinnamon/desktop/applications/terminal" = {
exec = "kitty";
exec-arg = "";
};
};
};
xdg = {
enable = true;
desktopEntries = {
VimInKitty = {
name = "Vim in Kitty";
exec = "kitty vim %U";
terminal = false;
mimeType = [ "text/plain" ];
};
};
mimeApps = {
enable = true;
defaultApplications = {
"text/plain" = [ "VimInKitty.desktop" ];
};
};
};
}