Thomas Adam
7ba5028697
Don't clear output on all screens
...
When parsing information into lemonbar, assume per-screen means that --
don't clear all the screens at once. Let individual requests to be
drawn on screen to be for that specified monitor.
2017-06-08 11:54:30 +01:00
Thomas Adam
bd6cb2edc1
Remove -o option
2017-05-13 19:41:41 +01:00
Thomas Adam
3f20ba0541
%{Sn<..>}: Don't rely on "-o" for output names
...
Rather than up-front declare which outputs lemonbar can use, instead infer
this based on scanning the outputs from RandR.
2017-05-12 23:01:33 +01:00
jvvv
170a7261fa
Add support for named rand outputs
2017-05-12 23:01:30 +01:00
Thomas Adam
89010c508d
%{S}: don't clear other outputs
...
When asking lemonbar to display text to a given ouput with %{S}, don't clear
all outputs first in order to render the text. The output will persist on
the other outputs until other text is rendered there.
2017-05-12 22:58:33 +01:00
Bastien Dejean
0ff78b6c42
Fix {top,bottom}_end_x strut value
...
The maximum x coordinate of a pixel inside the rectangle (x, y, w, h) is x+w-1.
The specs (https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317564416 )
provides an example that corroborates the fact that the range is inclusive: bottom_end_x is 2303.
This value can be interpreted as 1280+1024-1.
2017-05-12 22:57:38 +01:00
mfunk
043ad4757c
Merge pull request #29 from tryone144/wm_class
...
WM_CLASS
2016-11-07 09:38:45 +01:00
krypt-n
7890857f95
Merge remote-tracking branch 'upstream/master' into xft-port
...
* upstream/master:
Set the WM_NAME for all the windows.
Don't use optarg directly when parsing the -n switch argument.
Silence a warning about write() result being unused.
Update the .travis.yml to build all the features
Make it possible to build lemonbar w/o XINERAMA support
Add pixel offset
Document literal percent sign under formatting
2016-11-07 09:18:19 +01:00
Bernd Busse
49b2cc55ae
Changed WM_CLASS class from "bar" to "Bar"
...
Follow convention of capitalized WM_CLASS class name.
2016-10-16 21:39:17 +02:00
Bernd Busse
d7520a659e
Change WM_CLASS atom to "instance", "class"
...
Set WM_CLASS class to "bar" and WM_CLASS instance to executable name
(defaults to "lemonbar").
2016-06-09 12:59:20 +02:00
Bernd Busse
b64dd42f30
Add WM_CLASS atom
2016-06-09 12:58:53 +02:00
LemonBoy
d680ea4256
Set the WM_NAME for all the windows.
...
Don't set repeatedly the property for the first window only.
Thanks to @otommod for noticing this.
2016-05-22 20:09:26 +02:00
LemonBoy
44a708b7a4
Don't use optarg directly when parsing the -n switch argument.
2016-05-22 15:31:42 +02:00
LemonBoy
40f08d5245
Silence a warning about write() result being unused.
2016-04-23 09:06:00 +02:00
LemonBoy
3dbdf9d078
Update the .travis.yml to build all the features
2016-04-23 09:02:46 +02:00
LemonBoy
a3fb967ad9
Make it possible to build lemonbar w/o XINERAMA support
2016-04-23 08:59:38 +02:00
TheLemonMan
ae5a3a477a
Merge pull request #170 from Stebalien/pixel-offset
...
Pixel Offset
2016-04-23 08:24:09 +02:00
Steven Allen
f2662d75c8
Add pixel offset
...
Add a formatting command to offset the text position by a pixel amount.
2016-02-19 11:35:22 -05:00
Giuseppe
3020df1923
Merge pull request #169 from vyp/literal-percent
...
Document literal percent sign under formatting
2016-02-19 11:57:35 +01:00
xd1le
13dcc66cae
Document literal percent sign under formatting
...
`B<%{>` and `B<}>` on the same line have been changed to `C<%{>` and
`C<}>` for consistency.
2016-02-19 21:50:27 +11:00
krypt-n
a43b801ddc
Merge remote-tracking branch 'stebalien/pixel-offset' into xft-port
...
* stebalien/pixel-offset:
Add pixel offset
Implement [Issue #161 - Feature request] Feature: add a parametere to set the default underline color. Usage: lemonbar -Ucolor
2016-02-17 22:18:23 +01:00
Steven Allen
892e43a3bc
Add pixel offset
...
Add a formatting command to offset the text position by a pixel amount.
2016-02-17 11:28:41 -05:00
Giuseppe
c788534107
Merge pull request #165 from JeromeBon/feature_issue161_default_underline_color
...
Implement [Issue #161 - Feature request]
2016-01-19 15:18:14 +01:00
Jérôme Bon
0f2cfbab28
Implement [Issue #161 - Feature request]
...
Feature: add a parametere to set the default underline color.
Usage: lemonbar -Ucolor
By the way this also fix a strange behavior whereas '%{+u}correct%{U-}strange'
made the second underline of the same color as the background instead of the foreground.
2016-01-19 14:41:00 +01:00
krypt-n
73ae9cfddc
Merge remote-tracking branch 'upstream/master' into xft-port
...
* upstream/master:
Commands in clickable areas aren't executed
2016-01-15 13:06:14 +01:00
krypt-n
3b3e3d5a91
Add mention of XFT support in README and Manpage
2016-01-15 12:50:05 +01:00
krypt-n
578faf271e
Add mention of XFT support in help message
2016-01-15 12:50:05 +01:00
Giuseppe
61985278f2
Merge pull request #162 from baskerville/master
...
Commands in clickable areas aren't executed
2016-01-03 18:39:11 +01:00
Krypt0n
38f69d853a
Merge pull request #20 from LemonBoy/master
...
Merge fix for persistent clickable areas
2015-12-31 18:47:30 +01:00
Bastien Dejean
d3d7a87b66
Commands in clickable areas aren't executed
2015-12-23 12:03:08 +01:00
LemonBoy
7c8eb7495b
Fix an off-by-one error in 'area_get'.
...
Fixes #160 .
2015-12-15 19:05:39 +01:00
Giuseppe
f26b88272e
Merge pull request #159 from AdamNiederer/patch-1
...
Fix Typo
2015-12-11 09:22:50 +01:00
Adam Niederer
214ad63925
Fix Typo
...
Siz -> Six in comment
2015-12-10 17:59:58 -05:00
krypt-n
5bddccebc4
Merge remote-tracking branch 'upstream/master' into xft-port
...
* upstream/master:
Added -a to README.pod (and, therefore, the man page)
2015-11-17 13:36:49 +01:00
krypt-n
94a73d3e48
Merge branch 'scroll-fix' into xft-port
...
* scroll-fix:
Saving 4 byte of memory on 32-Bit systems
2015-11-17 13:32:35 +01:00
Giuseppe
495ac4e546
Merge pull request #158 from sector-f/master
...
Added -a and -o to README.pod (and, therefore, the man page)
2015-11-16 18:43:23 +01:00
Adam
e4ea4071ab
Added -a to README.pod (and, therefore, the man page)
2015-11-16 12:17:17 -05:00
Giuseppe
63ed303553
Merge pull request #157 from krypt-n/scroll-fix
...
Fix the missing scrolling wheel support.
2015-11-16 17:24:31 +01:00
krypt-n
e0aee14533
Saving 4 byte of memory on 32-Bit systems
2015-11-15 23:06:19 +01:00
krypt-n
fd8a33c8a4
Fix memoryleak on failure to load font
2015-11-15 22:41:53 +01:00
krypt-n
4d164f3083
Remove return NULL from function returning void
...
gcc didnt catch that. clang did
2015-11-15 22:31:05 +01:00
krypt-n
62d5338277
Merge branch 'scroll-fix' into xft-port
...
* scroll-fix:
Fix LemonBoy/bar#154 and krypt-n/bar#18
2015-11-15 13:30:05 +01:00
krypt-n
da26209013
Fix LemonBoy/bar#154 and krypt-n/bar#18
...
Widening the bitfield by 1 would be a solution aswell.
Problem was that an int:3 has a range of -4 to 3, buttons 4 and 5 did not
fit into it
2015-11-15 13:24:36 +01:00
krypt-n
2f66bb1407
Merge remote-tracking branch 'upstream/master' into xft-port
...
* upstream/master:
Prevent load_font calls before connecting to X
The WM_NAME option takes an argument
Allow the user to set the WM_NAME atom value
Warn the user when the area geometry is invalid
Make the number of clickable areas configurable.
Don't parse named colors. Expand #rgb format.
2015-11-02 13:49:43 +01:00
LemonBoy
2c0f57c584
Prevent load_font calls before connecting to X
2015-10-30 16:11:22 +01:00
Bastien Dejean
3b5baa93b1
The WM_NAME option takes an argument
2015-10-30 16:11:22 +01:00
LemonBoy
531c575575
Allow the user to set the WM_NAME atom value
2015-10-24 14:44:41 +02:00
LemonBoy
6580e2d4f7
Warn the user when the area geometry is invalid
2015-10-24 14:35:36 +02:00
LemonBoy
255c93dc7a
Make the number of clickable areas configurable.
2015-10-24 14:28:51 +02:00
LemonBoy
38422c5014
Don't parse named colors. Expand #rgb format.
2015-10-24 14:04:37 +02:00