mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-01 11:24:40 +00:00
clean up duplicated code in installation of desktop services
This commit is contained in:
committed by
Mitchell Hashimoto
parent
9c95ce28ae
commit
eb5a488b57
4
dist/linux/app.desktop.in
vendored
4
dist/linux/app.desktop.in
vendored
@@ -1,6 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Ghostty@@NAME@@
|
||||
Name=@@NAME@@
|
||||
Type=Application
|
||||
Comment=A terminal emulator
|
||||
TryExec=@@GHOSTTY@@
|
||||
@@ -9,7 +9,7 @@ Icon=com.mitchellh.ghostty
|
||||
Categories=System;TerminalEmulator;
|
||||
Keywords=terminal;tty;pty;
|
||||
StartupNotify=true
|
||||
StartupWMClass=com.mitchellh.ghostty@@DEBUG@@
|
||||
StartupWMClass=@@APPID@@
|
||||
Terminal=false
|
||||
Actions=new-window;
|
||||
X-GNOME-UsesNotifications=true
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop-application">
|
||||
<id>com.mitchellh.ghostty@@DEBUG@@</id>
|
||||
<launchable type="desktop-id">com.mitchellh.ghostty@@DEBUG@@.desktop</launchable>
|
||||
<id>@@APPID@@</id>
|
||||
<launchable type="desktop-id">@@APPID@@.desktop</launchable>
|
||||
<name>Ghostty</name>
|
||||
<url type="homepage">https://ghostty.org</url>
|
||||
<url type="help">https://ghostty.org/docs</url>
|
||||
|
||||
4
dist/linux/dbus.service.in
vendored
4
dist/linux/dbus.service.in
vendored
@@ -1,4 +1,4 @@
|
||||
[D-BUS Service]
|
||||
Name=com.mitchellh.ghostty@@DEBUG@@
|
||||
SystemdService=com.mitchellh.ghostty@@DEBUG@@.service
|
||||
Name=@@APPID@@
|
||||
SystemdService=@@APPID@@.service
|
||||
Exec=@@GHOSTTY@@ --launched-from=dbus
|
||||
|
||||
4
dist/linux/systemd.service.in
vendored
4
dist/linux/systemd.service.in
vendored
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Ghostty@@NAME@@
|
||||
Description=@@NAME@@
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
BusName=com.mitchellh.ghostty@@DEBUG@@
|
||||
BusName=@@APPID@@
|
||||
ExecStart=@@GHOSTTY@@ --launched-from=systemd
|
||||
|
||||
Reference in New Issue
Block a user