mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 08:45:39 +00:00
use dynamic terminal for neovim based on rofi in linux
This commit is contained in:
parent
120b97f970
commit
d806bd7f56
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user