Launcher: add custom launch prefix

This commit is contained in:
lysec
2025-10-25 11:52:18 +02:00
parent b9c6d0e2fb
commit e26c2874b5
10 changed files with 103 additions and 4 deletions
+8
View File
@@ -323,6 +323,14 @@
"terminal-command": {
"label": "Terminalbefehl",
"description": "Befehl zum Starten eines Terminals. Z.B. 'kitty -e' oder 'gnome-terminal --'."
},
"custom-launch-prefix": {
"label": "Benutzerdefiniertes Start-Präfix",
"description": "Befehle mit einem benutzerdefinierten Launcher präfixieren (z.B. 'runapp' für systemd-Integration)."
},
"custom-launch-prefix-enabled": {
"label": "Benutzerdefiniertes Start-Präfix aktivieren",
"description": "Verwenden Sie ein benutzerdefiniertes Präfix zum Starten von Anwendungen anstelle der Standardmethode."
}
}
},
+8
View File
@@ -323,6 +323,14 @@
"terminal-command": {
"label": "Terminal command",
"description": "Command to launch a terminal. E.g., 'kitty -e' or 'gnome-terminal --'."
},
"custom-launch-prefix": {
"label": "Custom launch prefix",
"description": "Prefix commands with a custom launcher (e.g., 'runapp' for systemd integration)."
},
"custom-launch-prefix-enabled": {
"label": "Enable custom launch prefix",
"description": "Use a custom prefix for launching applications instead of the default method."
}
}
},
+8
View File
@@ -323,6 +323,14 @@
"terminal-command": {
"label": "Comando de terminal",
"description": "Comando para iniciar un terminal. Por ejemplo, 'kitty -e' o 'gnome-terminal --'."
},
"custom-launch-prefix": {
"label": "Prefijo de lanzamiento personalizado",
"description": "Prefijar comandos con un lanzador personalizado (ej. 'runapp' para integración con systemd)."
},
"custom-launch-prefix-enabled": {
"label": "Habilitar prefijo de lanzamiento personalizado",
"description": "Usar un prefijo personalizado para lanzar aplicaciones en lugar del método predeterminado."
}
}
},
+8
View File
@@ -323,6 +323,14 @@
"terminal-command": {
"label": "Commande du terminal",
"description": "Commande pour lancer un terminal. Ex: 'kitty -e' ou 'gnome-terminal --'."
},
"custom-launch-prefix": {
"label": "Préfixe de lancement personnalisé",
"description": "Préfixer les commandes avec un lanceur personnalisé (ex. 'runapp' pour l'intégration systemd)."
},
"custom-launch-prefix-enabled": {
"label": "Activer le préfixe de lancement personnalisé",
"description": "Utiliser un préfixe personnalisé pour lancer les applications au lieu de la méthode par défaut."
}
}
},
+8
View File
@@ -323,6 +323,14 @@
"terminal-command": {
"label": "Comando do terminal",
"description": "Comando para iniciar um terminal. Ex: 'kitty -e' ou 'gnome-terminal --'."
},
"custom-launch-prefix": {
"label": "Prefixo de inicialização personalizado",
"description": "Prefixar comandos com um inicializador personalizado (ex. 'runapp' para integração systemd)."
},
"custom-launch-prefix-enabled": {
"label": "Habilitar prefixo de inicialização personalizado",
"description": "Usar um prefixo personalizado para inicializar aplicativos em vez do método padrão."
}
}
},
+9 -1
View File
@@ -321,8 +321,16 @@
"description": "使用替代启动方法以更好地管理应用程序进程并防止问题。"
},
"terminal-command": {
"description": "启动终端的命令。例如,“kitty -e”或“gnome-terminal --”。",
"description": "启动终端的命令。例如,"kitty -e"或"gnome-terminal --"。",
"label": "终端命令"
},
"custom-launch-prefix": {
"label": "自定义启动前缀",
"description": "使用自定义启动器前缀命令(例如,'runapp'用于systemd集成)。"
},
"custom-launch-prefix-enabled": {
"label": "启用自定义启动前缀",
"description": "使用自定义前缀启动应用程序,而不是默认方法。"
}
}
},
+3 -1
View File
@@ -111,7 +111,9 @@
"pinnedExecs": [],
"useApp2Unit": false,
"sortByMostUsed": true,
"terminalCommand": "xterm -e"
"terminalCommand": "xterm -e",
"customLaunchPrefixEnabled": false,
"customLaunchPrefix": ""
},
"controlCenter": {
"position": "close_to_bar_button",