aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SettingsHandler.qml2
-rw-r--r--src/widget/EmbeddedTerminal.qml4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/SettingsHandler.qml b/src/SettingsHandler.qml
index fd13473..ed008c7 100644
--- a/src/SettingsHandler.qml
+++ b/src/SettingsHandler.qml
@@ -62,6 +62,8 @@ QtObject {
property int fontSize : 8
property string fontFamily : "Monospace"
property string colorScheme : "cool-retro-term"
+ property string launcherProgram : "sh"
+ property string launcherArgument : "-c"
property string overlayBackground : "black"
property string overlayFontColor : "white"
}
diff --git a/src/widget/EmbeddedTerminal.qml b/src/widget/EmbeddedTerminal.qml
index d8c89d4..192fcef 100644
--- a/src/widget/EmbeddedTerminal.qml
+++ b/src/widget/EmbeddedTerminal.qml
@@ -56,8 +56,8 @@ Item {
initialWorkingDirectory: item.workingDirectory
- shellProgram: 'sh'
- shellProgramArgs: [ '-c', program ]
+ shellProgram: settings.terminal.launcherProgram
+ shellProgramArgs: [ settings.terminal.launcherArgument, program ]
onFinished: {
clearScreen();