detect shell and make it configurable

This commit is contained in:
chrys
2018-03-25 23:03:53 +02:00
parent 26ff69b25e
commit 714ad94308
8 changed files with 58 additions and 4 deletions

View File

@ -41,6 +41,7 @@ class fenrirManager():
parser.add_argument('-d', '--debug', action='store_true', help='Turns on Debugmode')
parser.add_argument('-p', '--print', action='store_true', help='Print debug messages on screen')
parser.add_argument('-e', '--emulation', action='store_true', help='Use PTY emulation')
parser.add_argument('-f', '--femulation', metavar='SHELL', default='', help='Use PTY emulation')
try:
args = parser.parse_args()
except Exception as e:

View File

@ -74,6 +74,7 @@ settingsData = {
'commandPath': '/usr/share/fenrir/commands',
'attributeFormatString': 'Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize',
'autoPresentIndent': False,
'shell': '',
},
'focus':{
'cursor': True,