Modification of the tab bar extension
Milan Ilavsky
ilavsky.milan at gmail.com
Tue Oct 23 11:09:09 CEST 2007
Hello
I had modified the tab bar extension, and I would like to share it with
others.
My simply modifications are:
- Add few resource options:
tab-format: string format of one tab (%a substitute the activity sign and
%i substitute the tab number)
tab-delimiter: delimiter between tabs
tab-activity-sign: activity sign/string
new-format: string format of the new button (the empty string means no
new button)
hide-single-tab: hide the tab bar, when only one tab is open (the tab bar
doesn't disturb in not multi tab window)
- Switching tab with meta-key+number
- And very simply and ugly session manager (on start open several tabs with
specified command)
The session file, is simply text file, where one command is on one line and
each command will be run in the new tab.
This file is set in the environment variable "URXVT_SESSION"
(URXVT_SESSION="/home/user/.urxvt_session" urxvt)
The environment variable "URXVT_SESSION_COMMAND" will be set to each new
tab. In this variable will be save a command to that tab,
which is needed to run from the .bashrc for example. I know it's very ugly
solution, but I don't know how to run command
from perl extension in tab (if a better solution exist, I will willingly use
it)
I'm sending a version with and without this "session manager" in attachment.
Milan Ilavsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20071023/83ed7a6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabbar.tbz2
Type: application/octet-stream
Size: 3686 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20071023/83ed7a6a/attachment.obj>
More information about the rxvt-unicode
mailing list