Skip to content

Add new vsplit hsplit cmd dbus#390

Merged
mattrose merged 4 commits intognome-terminator:masterfrom
TheBigS:add-new-vsplit-hsplit-cmd-dbus
Apr 12, 2021
Merged

Add new vsplit hsplit cmd dbus#390
mattrose merged 4 commits intognome-terminator:masterfrom
TheBigS:add-new-vsplit-hsplit-cmd-dbus

Conversation

@TheBigS
Copy link
Copy Markdown
Contributor

@TheBigS TheBigS commented Feb 19, 2021

This includes get_focused_terminal pull request too (which was separately functional) to add new vsplit_cmd and hsplit_cmd dbus ipc commands.

Now we can get the focused_terminal and then split it and run a command all over dbus. Here is the python that could call the new hsplit_cmd

   focused_terminal_uuid = ipc.get_focused_terminal(None)
   ipc.hsplit_cmd(focused_terminal_uuid, 'iftop', 'sudo /sbin/iftop -i eth0', None)

Then we see terminator now spawns and names the new horizontal split appropriately

2021 02 18_23-06-01

@mattrose
Copy link
Copy Markdown
Member

Thanks so much for this! I'll try to take a look at this this weekend

@mattrose
Copy link
Copy Markdown
Member

Sorry for the long wait on this one. Merging.

@mattrose mattrose merged commit 23e5bb8 into gnome-terminator:master Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants