tilix
tilix copied to clipboard
How to run custom commands in each terminal of a session layout
I am trying tilix for the first time. I have configured my PC to launch tilix on startup with my custom session layout. I have various housekeeping tasks that I would like to run at startup. How can I configure a unique command to run in each of my terminals, showing me the output and remaining open upon completion?
If I understand you correctly this could help:
In your custom_session_layout.json you add
"overrideCommand": "foobar"
to each child block
example:{
"child": {
"child1": {
"directory": "\/home\/dings",
"height": 519,
"profile": "dead-beef-1123",
"readOnly": false,
"synchronizedInput": true,
"type": "Terminal",
"uuid": "121313-1313-13-131-31-3",
"width": 479,
"overrideCommand": "vifm"
},
"child2": {
"child1": {
"directory": "\/home\/dings",
"height": 259,
"profile": "dead-beef-1123",
"readOnly": false,
"synchronizedInput": true,
"type": "Terminal",
"uuid": "afsd3214-wer-1234-653",
"width": 478,
"overrideCommand": "mocp"
},
Found it in #1851
I have two profiles: Default, and Transparent. I setup hotkey Ctrl+[ and Ctrl+] to select Default and Transparent profiles.
But only one tab changing after change Profile? How to set Profile to all tabs or/and sessions?