Area activation button is now configurable, aka right-clickable areas.

This commit is contained in:
LemonBoy
2014-06-11 20:05:23 +02:00
parent eb90ab7675
commit 1ab492730b
2 changed files with 20 additions and 11 deletions

View File

@@ -86,12 +86,14 @@ Set the text foreground color. The parameter I<color> can be I<-> or a color in
Set the text underline color. The parameter I<color> can be I<-> or a color in one of the formats mentioned before. The special value I<-> resets the color to the default one.
=item B<A>:I<command>:
=item B<A>I<button>:I<command>:
Create a clickable area starting from the current position, when the area is clicked I<command> is executed. The area is closed when a B<A> token, not followed by : is encountered.
Eg. I<%{A:reboot:} Click here to reboot %{A}>
The I<button> field is optional, it defaults to the left button, and it's a number ranging from 1 to 5 which maps to the left, middle, right, scroll down and scroll up movements. Your mileage may vary.
=item B<S>I<dir>
Change the monitor bar is rendering to. I<dir> can be either