Add a -T option that sets window title. #409

Merged
haesbaert merged 1 commits from master into master 2018-02-25 11:53:43 +01:00
haesbaert commented 2018-01-06 20:27:37 +01:00 (Migrated from github.com)

cool-retro-term -T myretrosession sets window name to 'myretrosession'

This is useful especially for people who rely on wmctrl to change windows, now I
can do wmctrl -a myretrocession to focus on cool-retro-term.

-T was chosen since it matches classic xterm(1) and other terminal emulators

--

Please have in mind I've never done any QT/Javascript/QML/C++, this code might be full of bad practices.

Having said that, I really need this since I run multiple terminals, each with different name, and switch them on the keyboard with wmctrl.

`cool-retro-term -T myretrosession` sets window name to 'myretrosession' This is useful especially for people who rely on wmctrl to change windows, now I can do `wmctrl -a myretrocession` to focus on cool-retro-term. -T was chosen since it matches classic xterm(1) and other terminal emulators -- Please have in mind I've never done any QT/Javascript/QML/C++, this code might be full of bad practices. Having said that, I really need this since I run multiple terminals, each with different name, and switch them on the keyboard with wmctrl.
Swordfish90 commented 2018-02-25 11:53:57 +01:00 (Migrated from github.com)

Thank you very much!

Thank you very much!
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#409
No description provided.