mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk: add new-window action to .desktop files
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.
This commit is contained in:
5
dist/linux/app-flatpak.desktop
vendored
5
dist/linux/app-flatpak.desktop
vendored
@ -7,3 +7,8 @@ Icon=com.mitchellh.ghostty
|
||||
Keywords=terminal;tty;pty;
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Actions=new-window
|
||||
|
||||
[Desktop Action new-window]
|
||||
Actions=new-window
|
||||
Exec=/app/bin/ghostty
|
||||
|
5
dist/linux/app.desktop
vendored
5
dist/linux/app.desktop
vendored
@ -7,3 +7,8 @@ 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
|
||||
|
Reference in New Issue
Block a user