mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00

Inspired by #413. This modifies the .desktop files so that it's possible to right-click on the Ghostty icon in a dock and get the "New window" action. Apparently this is how you implement that in GTK applications. In order for us to also get "New tab", we'd have to implement a CLI flag, I think.
15 lines
273 B
Desktop File
15 lines
273 B
Desktop File
[Desktop Entry]
|
|
Name=Ghostty
|
|
Type=Application
|
|
Comment=A terminal emulator
|
|
Exec=/usr/bin/ghostty
|
|
Icon=com.mitchellh.ghostty
|
|
Keywords=terminal;tty;pty;
|
|
StartupNotify=true
|
|
Terminal=false
|
|
Actions=new-window
|
|
|
|
[Desktop Action new-window]
|
|
Actions=new-window
|
|
Exec=/usr/bin/ghostty
|