Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
linux: Remove `StartupWMClass` from .desktop file, add `NewWorkspace` action (#13807)
jansolab83820b6ecd
diff --git a/crates/zed/resources/zed.desktop.in b/crates/zed/resources/zed.desktop.inindex d629013ec82..59eae4d0172 100644--- a/crates/zed/resources/zed.desktop.in+++ b/crates/zed/resources/zed.desktop.in@@ -6,9 +6,12 @@ GenericName=Text EditorComment=A high-performance, multiplayer code editor.TryExec=$APP_CLIStartupNotify=$DO_STARTUP_NOTIFY-StartupWMClass=$APP_IDExec=$APP_CLI $APP_ARGSIcon=$APP_ICONCategories=Utility;TextEditor;Development;IDE;Keywords=zed;MimeType=text/plain;inode/directory;++[Desktop Action NewWorkspace]+Exec=$APP_CLI --new $APP_ARGS+Name=Open a new workspacediff --git a/script/bundle-linux b/script/bundle-linuxindex f06d2497b3c..711abf72fed 100755--- a/script/bundle-linux+++ b/script/bundle-linux@@ -83,6 +83,7 @@ cp "crates/zed/resources/[email protected]" "${zed_dir}/share/icons/hicolorexport DO_STARTUP_NOTIFY="true"export APP_CLI="zed"export APP_ICON="zed"+export APP_ARGS="%U"if [[ "$channel" == "preview" ]]; thenexport APP_NAME="Zed Preview"elif [[ "$channel" == "nightly" ]]; then