Fix Neovim .desktop file to open files from GUI file manager (#2233)
* Fix comment * Update Exec command to use shell execution for Nvim Fix Neovim .desktop file to allow opening files from GUI file manager. * Add migration --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
co-authored by
David Heinemeier Hansson
parent
bb4df39bbd
commit
479f20d294
@@ -2,7 +2,7 @@
|
|||||||
Name=Neovim
|
Name=Neovim
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Comment=Edit text files
|
Comment=Edit text files
|
||||||
Exec=$TERMINAL --class=nvim --title=nvim -e nvim -- %F
|
Exec=sh -c "$TERMINAL --class=nvim --title=nvim -e nvim -- %F"
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Keywords=Text;editor;
|
Keywords=Text;editor;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Float Steam, fullscreen RetroArch
|
# Float Steam
|
||||||
windowrule = float, class:steam
|
windowrule = float, class:steam
|
||||||
windowrule = center, class:steam, title:Steam
|
windowrule = center, class:steam, title:Steam
|
||||||
windowrule = opacity 1 1, class:steam
|
windowrule = opacity 1 1, class:steam
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Fix opening in nvim from files manager"
|
||||||
|
|
||||||
|
cp -f $OMARCHY_PATH/applications/nvim.desktop ~/.local/share/applications/nvim.desktop
|
||||||
Reference in New Issue
Block a user