linux: Remove StartupWMClass
from .desktop file, add NewWorkspace
action (#13807)
Release Notes: - N/A
This commit is contained in:
parent
800bdf34d5
commit
ab83820b6e
2 changed files with 5 additions and 1 deletions
|
@ -6,9 +6,12 @@ GenericName=Text Editor
|
||||||
Comment=A high-performance, multiplayer code editor.
|
Comment=A high-performance, multiplayer code editor.
|
||||||
TryExec=$APP_CLI
|
TryExec=$APP_CLI
|
||||||
StartupNotify=$DO_STARTUP_NOTIFY
|
StartupNotify=$DO_STARTUP_NOTIFY
|
||||||
StartupWMClass=$APP_ID
|
|
||||||
Exec=$APP_CLI $APP_ARGS
|
Exec=$APP_CLI $APP_ARGS
|
||||||
Icon=$APP_ICON
|
Icon=$APP_ICON
|
||||||
Categories=Utility;TextEditor;Development;IDE;
|
Categories=Utility;TextEditor;Development;IDE;
|
||||||
Keywords=zed;
|
Keywords=zed;
|
||||||
MimeType=text/plain;inode/directory;
|
MimeType=text/plain;inode/directory;
|
||||||
|
|
||||||
|
[Desktop Action NewWorkspace]
|
||||||
|
Exec=$APP_CLI --new $APP_ARGS
|
||||||
|
Name=Open a new workspace
|
||||||
|
|
|
@ -83,6 +83,7 @@ cp "crates/zed/resources/app-icon$suffix@2x.png" "${zed_dir}/share/icons/hicolor
|
||||||
export DO_STARTUP_NOTIFY="true"
|
export DO_STARTUP_NOTIFY="true"
|
||||||
export APP_CLI="zed"
|
export APP_CLI="zed"
|
||||||
export APP_ICON="zed"
|
export APP_ICON="zed"
|
||||||
|
export APP_ARGS="%U"
|
||||||
if [[ "$channel" == "preview" ]]; then
|
if [[ "$channel" == "preview" ]]; then
|
||||||
export APP_NAME="Zed Preview"
|
export APP_NAME="Zed Preview"
|
||||||
elif [[ "$channel" == "nightly" ]]; then
|
elif [[ "$channel" == "nightly" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue