Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Split screen #21

Open
Petemir opened this issue Aug 15, 2018 · 4 comments
Open

[Enhancement] Split screen #21

Petemir opened this issue Aug 15, 2018 · 4 comments

Comments

@Petemir
Copy link

Petemir commented Aug 15, 2018

Would it be possible to have a command to split a newly generated screen?

@Petemir
Copy link
Author

Petemir commented Aug 19, 2018

qdbus commands:
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalLeftRight
qdbus org.kde.yakuake /yakuake/sessions org.kde.yakuake.splitTerminalTopBottom

@jesustorresdev
Copy link
Owner

jesustorresdev commented Aug 19, 2018 via email

@jesustorresdev
Copy link
Owner

Hi @Petemir,

Do yo mean something like

yakuake-session --hsplit

or

yakuake-session --vsplit

and the new session is created splitted in two?

@Petemir
Copy link
Author

Petemir commented Aug 30, 2018

Hi,

Yes, it could be like that. Personally, though, I almost never use two splitted windows. Depending on what I am working on, and I suppose this translates to every programmer, I use a different visual configuration of terminals (+ the working directory + running commands in each one) ... sometimes 3 terminals in a session (first an horizontal split, then an vertical on the bottom one), sometimes 4 square ones (tip: qdbus org.kde.yakuake /yakuake/sessions addSessionQuad).

I finally managed to do it with the qdbus commands, but they aren't well documented nor user-friendly, and I believe this would improve your script a bit for the general public, although it may be difficult to implement. I do not know if you want two splits, first an horizontal one and then a vertical, how would you direct the vertical split to the top or bottom terminal of the previous two... and if you start adding the commands to each of the splits, it could get quite messy :) ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants