From 148bf83ceeaabf862cb83cf1e988bc8761a054a4 Mon Sep 17 00:00:00 2001 From: El-Hussein Abdelraouf Date: Sun, 7 Jun 2020 19:15:24 +0200 Subject: [PATCH] vscode: add %U to exec command of the desktop item (#88623) --- pkgs/applications/editors/vscode/generic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 30060086fb5..38d695bd74a 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -24,7 +24,7 @@ in desktopName = longName; comment = "Code Editing. Redefined."; genericName = "Text Editor"; - exec = executableName; + exec = "${executableName} %U"; icon = "code"; startupNotify = "true"; categories = "Utility;TextEditor;Development;IDE;";