my-kde-servicemenus/ServiceMenus/vscode.desktop

16 lines
348 B
Desktop File

[Desktop Entry]
Type=Service
Name=Custom VSCode Directory Menus (Main)
ServiceTypes=KonqPopupMenu/Plugin
Actions=launch-vscode
MimeType=inode/directory;
Icon=com.visualstudio.code
Encoding=UTF-8
X-KDE-Priority=TopLevel
[Desktop Action launch-vscode]
Exec=/usr/share/code/code "%f"
Icon=com.visualstudio.code
Name=Visual Studio Code
Terminal=false