mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 01:37:20 +00:00
Add "new window" action to code.desktop
In Gnome and Unity desktop (and maybe some others) this can be used to open a new Code window through right click on the launcher icon and then on "New Window".
This commit is contained in:
parent
a420458324
commit
5852199686
1 changed files with 9 additions and 1 deletions
|
@ -6,5 +6,13 @@ Exec=/usr/bin/@@NAME@@ %U
|
|||
Icon=@@NAME@@
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
StartupWMClass=@@NAME@@
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=text/plain;
|
||||
MimeType=text/plain;
|
||||
Actions=new-window;
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=New Window
|
||||
Name[de]=Neues Fenster
|
||||
Exec=/usr/bin/@@NAME@@ --new-window %U
|
||||
Icon=@@NAME@@
|
||||
|
|
Loading…
Reference in a new issue