Я хочу связать пользовательскую горячую клавишу с вводным разделителем с двумя вкладками, каждая вкладка, выполняющая различную команду
стук по моей голове в течение многих часов здесь :)
Определите несколько профилей и расположение для terminator
:
[profiles]
[[default]]
# Your default profile remains untouched...
[[command1]]
use_custom_command = True
custom_command = "watch date"
[[command2]]
use_custom_command = True
custom_command = "top"
[layouts]
[[default]]
# Your default layout remains untouched...
[[your-layout]]
[[[child0]]]
type = Window
order = 0
parent = ""
[[[child1]]]
labels = None, None
type = Notebook
order = 0
parent = child0
[[[terminal3]]]
type = Terminal
order = 1
parent = child1
profile = command1
[[[terminal2]]]
type = Terminal
order = 0
parent = child1
profile = command2
Теперь, если Вы запускаетесь terminator
таким образом:
terminator --layout your-layout
Это должно открыть окно Terminator с двумя вкладками, выполняющими две команды. Теперь установите вышеупомянутую команду на сочетание клавиш или псевдоним.