From 6db0bd2fa8ae3991e548e2596ec130c17f5009f2 Mon Sep 17 00:00:00 2001 From: Ingo Reitz <9l@9lo.re> Date: Thu, 10 Oct 2024 08:57:56 +0200 Subject: [PATCH] vscod{e,ium}: add url handler startupWMClass --- pkgs/applications/editors/vscode/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix index 6351b9d71bf1..352c25fe1720 100644 --- a/pkgs/applications/editors/vscode/generic.nix +++ b/pkgs/applications/editors/vscode/generic.nix @@ -149,6 +149,7 @@ in exec = executableName + " --open-url %U"; icon = "vs${executableName}"; startupNotify = true; + startupWMClass = shortName; categories = [ "Utility" "TextEditor" "Development" "IDE" ]; mimeTypes = [ "x-scheme-handler/vs${executableName}" ]; keywords = [ "vscode" ];