diff options
author | Adrian Kummerlaender | 2015-08-30 18:33:41 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-30 18:33:41 +0200 |
commit | bac3fd5935737381560fd3955e0e528674f05424 (patch) | |
tree | 732861da2420e599897407fcd797edeb55c08bbb /src | |
parent | 3aae7ad1ec8dcde6b41123f1f9166a6c2365251f (diff) | |
download | MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar.gz MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar.bz2 MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar.lz MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar.xz MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.tar.zst MetaTerm-bac3fd5935737381560fd3955e0e528674f05424.zip |
Add launcher program and argument to configuration
Diffstat (limited to 'src')
-rw-r--r-- | src/SettingsHandler.qml | 2 | ||||
-rw-r--r-- | src/widget/EmbeddedTerminal.qml | 4 |
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(); |