use dynamic terminal for neovim based on rofi in linux

This commit is contained in:
Noah Masur 2024-10-12 11:57:38 -04:00
parent 120b97f970
commit d806bd7f56
No known key found for this signature in database

View File

@ -52,7 +52,7 @@ in
# (Requires launching the terminal and then executing Neovim) # (Requires launching the terminal and then executing Neovim)
xdg.desktopEntries.nvim = lib.mkIf pkgs.stdenv.isLinux { xdg.desktopEntries.nvim = lib.mkIf pkgs.stdenv.isLinux {
name = "Neovim wrapper"; name = "Neovim wrapper";
exec = "kitty nvim %F"; exec = "${config.home-manager.users.${config.user}.programs.rofi.terminal} nvim %F";
mimeType = [ mimeType = [
"text/plain" "text/plain"
"text/markdown" "text/markdown"