rootcoma
|
c258d0a0fa
|
Fix the bounds checking for area_get.
Mouse at far left (x=0) would not be able to click an area that starts at 0.
|
2014-08-08 08:06:33 -07:00 |
|
LemonBoy
|
69e8ac6f07
|
Fix #69. Thanks @matchew !
|
2014-07-24 10:50:31 +02:00 |
|
Grayson MacKenzie
|
02627e7609
|
Minor syntax cleanup. Changed parameter of select_drawable_font() to const
|
2014-07-22 18:35:21 -04:00 |
|
Grayson MacKenzie
|
1c106dbfd0
|
Added font caching
|
2014-07-22 17:23:56 -04:00 |
|
Grayson MacKenzie
|
128e212c14
|
General style cleanups.
|
2014-07-22 16:14:48 -04:00 |
|
Grayson MacKenzie
|
d22cd1561b
|
Fixed #68
|
2014-07-22 15:20:21 -04:00 |
|
Grayson MacKenzie
|
f3e9df4a97
|
Added support for greater than two fonts.
|
2014-07-22 14:47:41 -04:00 |
|
Giuseppe
|
b66bd0a172
|
Revert "Add support for #RRGGBB sytle colors"
|
2014-07-02 15:58:19 +02:00 |
|
Sprocklem
|
939aead84d
|
Small change to fix #64
|
2014-06-18 17:50:26 -06:00 |
|
LemonBoy
|
970332ac76
|
RGBA colors now should render properly.
|
2014-06-11 20:34:40 +02:00 |
|
LemonBoy
|
1ab492730b
|
Area activation button is now configurable, aka right-clickable areas.
|
2014-06-11 20:05:23 +02:00 |
|
John Vogel
|
99e927ee70
|
Put geom checks after adjust for non-multi also
|
2014-06-01 09:21:06 -04:00 |
|
John Vogel
|
8a7015fce2
|
Add omitted variable declaration
|
2014-05-31 22:01:14 -04:00 |
|
John Vogel
|
e81c1ff8cb
|
Put geometry checks after width/height adjust
|
2014-05-31 21:56:50 -04:00 |
|
John Vogel
|
caf14a0ec4
|
Don't send zero width rects to monitor_create_chain
|
2014-05-31 21:52:48 -04:00 |
|
John Vogel
|
c233646012
|
Consider all monitors for geometry settings/checks.
|
2014-05-28 21:00:58 -04:00 |
|
John Vogel
|
3546890578
|
Clear all pixmaps at start of parse, but not at each ${S} command.
|
2014-05-28 20:38:36 -04:00 |
|
LemonBoy
|
26044f210b
|
Feed Xorg colors with the alpha channel premultiplied in
|
2014-05-07 20:53:10 +02:00 |
|
LemonBoy
|
a447500477
|
Y offset support thanks to z3bra
|
2014-04-24 23:46:00 +02:00 |
|
LemonBoy
|
3919a0045c
|
Flawless centering
|
2014-03-15 15:07:10 +00:00 |
|
LemonBoy
|
0eb09810dc
|
Get rid of the synchronous system call by piping the command to stdout as suggested in #46
|
2014-03-13 23:33:52 +00:00 |
|
LemonBoy
|
24c1da491f
|
Handle left aligned areas
|
2014-02-26 16:42:31 +00:00 |
|
LemonBoy
|
6977bb96d2
|
Fixes and cleanup
|
2014-02-26 12:02:33 +00:00 |
|
LemonBoy
|
3c0583a5fc
|
Clickable areas! #38
|
2014-02-26 10:07:49 +00:00 |
|
LemonBoy
|
0e3ee04cb1
|
ababcc
|
2014-02-24 12:46:46 +00:00 |
|
LemonBoy
|
4d5f9b60e3
|
Use 32bit visuals when available
|
2014-02-24 12:35:56 +00:00 |
|
LemonBoy
|
e9086e83b9
|
I didn't eat the +, I swear
|
2014-02-23 21:55:20 +00:00 |
|
LemonBoy
|
08f30bd636
|
Introduce per-screen pixmaps. Text alignment works again. And underlines/overlines. Also, fixes.
|
2014-02-23 21:46:15 +00:00 |
|
LemonBoy
|
072c4aa3a1
|
Oops, return EXIT_FAILURE on error
|
2014-02-21 21:49:50 +00:00 |
|
LemonBoy
|
b01de5cb48
|
Warn the user if the geometry doesn't fit the screen
|
2014-02-21 20:56:17 +00:00 |
|
LemonBoy
|
b70edf4c4b
|
Robust geometry string parsing. Support for x offset. Underline/overline width is now configurable (fixes #43)
|
2014-02-21 11:52:50 +00:00 |
|
LemonBoy
|
66e8b40be1
|
Don't enumerate disconnected outputs
|
2014-02-20 20:38:50 +00:00 |
|
LemonBoy
|
64a81bea0e
|
Fix overlapping detection. Fix an use after free. Fixes #41
|
2014-02-20 20:21:41 +00:00 |
|
LemonBoy
|
b60e45ee08
|
General cleanup. New formatting syntax. More cleanup. Documentation. Did I say cleanup ?
|
2014-02-19 17:53:32 +00:00 |
|
LemonBoy
|
3f4ed1600a
|
Better screen sorting. Fix a use after free. Clone/overlapping monitor detection
|
2014-02-18 00:23:35 +00:00 |
|
LemonBoy
|
a66f6bb097
|
Sort RandR outputs too
|
2014-02-17 14:46:26 +00:00 |
|
LemonBoy
|
81ef4a8eb7
|
Sort Xinerama monitors by x before using them
|
2014-02-17 14:42:43 +00:00 |
|
LemonBoy
|
6fb75424e8
|
Make globals static. Fix the long standing off by one error when retrieving the glyph width.
|
2014-02-12 15:01:42 +00:00 |
|
John Vogel
|
88b482596f
|
Rebase fixup, two.
|
2014-02-11 23:29:40 -05:00 |
|
John Vogel
|
7f28ae9c79
|
Reorganize randr/xinerama detection, add monitor_add().
|
2014-02-11 23:10:02 -05:00 |
|
John Vogel
|
9ca4a1423e
|
Ported randr code to wip branch, plus some fixes.
|
2014-02-11 23:09:49 -05:00 |
|
LemonBoy
|
c349f0e39c
|
Never go full retard. Now the width param is honoured in Xinerama mode.
|
2014-02-08 18:55:31 +00:00 |
|
LemonBoy
|
edc2e2c61c
|
So revamp. Much flexible. Such wow.
|
2014-02-08 15:45:38 +00:00 |
|
LemonBoy
|
e8ec2fcfe5
|
Merge branch 'master' of github.com:LemonBoy/bar into xinerama-fix
Conflicts:
bar.c
|
2014-02-05 23:24:21 +00:00 |
|
Bill Kolokithas
|
9cdaa22e06
|
styling change: remove uneeded parentheses around dereferenced pointer
|
2014-02-05 00:36:19 +02:00 |
|
Bill Kolokithas
|
4e1d114f4e
|
check return value of fgets and exit main loop if EOF is received
|
2014-02-05 00:36:14 +02:00 |
|
LemonBoy
|
7ecc02bc80
|
utf-8 fixes! Replaced wchar_t with uint16_t. -O2 doesn't increase the binary size that much so let's go for it.
|
2014-01-26 13:13:49 +00:00 |
|
LemonBoy
|
0d937fcadb
|
Better naming. Avoid useless check when xinerama isn't active
|
2014-01-24 11:38:49 +00:00 |
|
LemonBoy
|
fbeadbe9de
|
Xinerama fixes.
|
2014-01-24 11:30:20 +00:00 |
|
LemonBoy
|
cc34dab746
|
Take BAR_OFFSET into account. Fixes #29.
|
2014-01-02 18:38:04 +00:00 |
|
Jørn Lode
|
1e0059742a
|
Fix issue LemonBoy/bar#25
|
2013-11-16 15:07:53 +01:00 |
|
Steven Allen
|
ac29e045e6
|
Add optional Xinerama support
Enable by making with `make XINERAMA=1`
|
2013-09-30 12:09:40 -04:00 |
|
LemonBoy
|
d87fc1f0c8
|
Add transparency support. Reworked EWMH stuff, fixes #20.
|
2013-09-02 13:35:32 +00:00 |
|
LemonBoy
|
216162c7eb
|
This is awkward.
|
2013-08-31 16:54:02 +00:00 |
|
LemonBoy
|
3a207cf9ba
|
Revamped palette.pl. Support separate colors for bg/fg.
|
2013-08-31 15:36:32 +00:00 |
|
LemonBoy
|
ff2dde88a1
|
Minor cleanup.
|
2013-05-24 16:00:52 +02:00 |
|
LemonBoy
|
c487ff65bc
|
Set sel_font to NULL at start. Fixes #16
|
2013-03-15 17:00:37 +01:00 |
|
LemonBoy
|
f95757bc1a
|
Suppress some compiler warnings. Silghtly faster and smaller.
|
2013-02-16 11:57:51 +01:00 |
|
LemonBoy
|
03c39538a5
|
Workaround for OpenBox (Thanks ma @ arch bbs). Handle some fonts better.
|
2012-11-10 14:50:23 +01:00 |
|
LemonBoy
|
a80ebaa157
|
bar_bottom is already initialized with config setting, don't zero it.
|
2012-09-04 15:23:55 +02:00 |
|
LemonBoy
|
0a71d182db
|
Consistent option naming.
|
2012-08-18 13:48:54 +02:00 |
|
Ivan Kanakarakis
|
80fd31b32c
|
add bar width and leading offset configuration options
|
2012-08-18 14:15:03 +03:00 |
|
Georg Reinke
|
e1cd134ec2
|
Merge remote-tracking branch 'upstream/master'
Conflicts:
bar.c
|
2012-08-17 13:35:32 +02:00 |
|
Georg Reinke
|
06d2db7c78
|
Add default setting for bar_bottom in config.h
|
2012-08-17 13:33:39 +02:00 |
|
Georg Reinke
|
2b9ca04290
|
Minor coding style fixes
|
2012-07-26 11:52:32 +02:00 |
|
LemonBoy
|
f089d43a46
|
Don't sync background color with foreground one.
|
2012-07-25 22:57:51 +02:00 |
|
LemonBoy
|
6c3b81602b
|
Swap order when drawing. Now it underlines properly even small fonts.
|
2012-07-25 20:33:01 +02:00 |
|
LemonBoy
|
3f8bfbe514
|
Toggleable underline/overline switch added.
|
2012-07-25 17:09:04 +02:00 |
|
LemonBoy
|
a4a3c805e3
|
Support for non-monospaced fonts. Changed the font definition in the config.
|
2012-07-25 16:55:26 +02:00 |
|
LemonBoy
|
1abd4c2d5a
|
Don't wait for a wm to show up. This makes bar work with XMonad.
|
2012-07-25 11:05:13 +02:00 |
|
Georg Reinke
|
ed067579b9
|
Correct cleanup() behaviour
|
2012-07-24 14:12:04 +02:00 |
|
Georg Reinke
|
ab350c86f7
|
Several small corrections
|
2012-07-24 12:29:35 +02:00 |
|
Georg Reinke
|
25bf9e9739
|
Make BAR_BOTTOM a command line option
|
2012-07-24 12:08:02 +02:00 |
|
LemonBoy
|
d7412803f6
|
Multi font support. Major refactoring of many places.
|
2012-07-23 16:49:39 +02:00 |
|
LemonBoy
|
5ea77f2242
|
More EWMH goodness.
|
2012-07-22 12:44:19 +02:00 |
|
LemonBoy
|
4ecaa1c6c2
|
Added positioning switch.
|
2012-07-22 11:45:10 +02:00 |
|
LemonBoy
|
ba6e51059e
|
Fixed a memory leak. Cleaned up a bit the code.
|
2012-07-21 17:41:57 +02:00 |
|
LemonBoy
|
741b9da4a1
|
Added underlining support.
|
2012-07-20 16:28:12 +02:00 |
|
LemonBoy
|
054ee4396f
|
Text is now properly centered.
|
2012-07-20 11:53:29 +02:00 |
|
LemonBoy
|
c97b0ecde6
|
Basic EWMH compliance.
|
2012-07-20 09:54:43 +02:00 |
|
LemonBoy
|
d0195d630b
|
Properly center the text.
|
2012-07-20 09:35:15 +02:00 |
|
LemonBoy
|
a4f7f32610
|
Respect the permanent option.
|
2012-07-18 21:27:41 +02:00 |
|
LemonBoy
|
f808c16ec1
|
Silly error is silly.
|
2012-07-18 17:29:37 +02:00 |
|
LemonBoy
|
2214927250
|
UTF8 support.
|
2012-07-18 17:11:17 +02:00 |
|
LemonBoy
|
5f336a6a2d
|
Fixes #1 for real. Cpu usage lowered even more.
|
2012-07-17 16:56:03 +02:00 |
|
LemonBoy
|
dda6bf6304
|
Reduce the timeout for improved responsiveness.
|
2012-07-17 14:01:28 +02:00 |
|
LemonBoy
|
4701b3521c
|
Fix polling issue.
|
2012-07-17 11:34:12 +02:00 |
|
LemonBoy
|
a7dbc379bf
|
Redraw on expose (#1).
|
2012-07-17 01:17:11 +02:00 |
|
LemonBoy
|
8beab7672d
|
Tear-free now.
|
2012-07-16 22:56:19 +02:00 |
|
LemonBoy
|
11e5e2e859
|
Flawed logic is flawed.
|
2012-07-16 15:54:34 +02:00 |
|
LemonBoy
|
cb7597052b
|
Fill the whole bar with the bg color. Yield when idling.
|
2012-07-16 14:29:05 +02:00 |
|
LemonBoy
|
b1e71d2866
|
Remove polling. Add a switch to make the bar permanent.
|
2012-07-16 12:30:49 +02:00 |
|
LemonBoy
|
fcf64daac8
|
Added a way to reset the bg/fg color.
|
2012-07-16 11:56:09 +02:00 |
|
LemonBoy
|
fbaf85f480
|
Here we go.
|
2012-07-16 11:41:34 +02:00 |
|