Commit Graph

109 Commits

Author SHA1 Message Date
krypt-n
a0bf113068 Merges fixes 2014-11-05 20:06:56 +01:00
Timothy M. Schaeffer
7d17fa5040 Avoid compiler warning about ignore return from write. 2014-10-30 22:00:24 -04:00
Timothy M. Schaeffer
f07aa2db6f On input, ignore % w/o a { after.
This allows eg “Battery 88%” in the input w/o messing
up the colors.
2014-10-30 21:59:51 -04:00
Timothy M. Schaeffer
f87c249d21 Allow colors in the form #RRGGBB (ie w/o alpha). 2014-10-30 21:58:19 -04:00
krypt-n
2f7408e848 Fixes problem with y offset and right/center alignment 2014-10-09 22:22:28 +02:00
krypt-n
6be47235d4 Fixes multi-monitor drawing 2014-10-09 22:01:23 +02:00
krypt-n
f834c13ea0 Fixes parse-memory leak 2014-10-09 12:58:12 +02:00
krypt-n
3e2e54af90 Restores all xcb_create_window parameters 2014-10-08 23:45:25 +02:00
krypt-n
16b0aa81d1 XCB owns evenqueue 2014-10-08 23:16:48 +02:00
krypt-n
15c668905c Removes unused variables, fixes pointer warning 2014-10-08 23:12:50 +02:00
krypt-n
6d7e66a887 Removed unused code 2014-10-08 23:04:34 +02:00
krypt-n
2c0ea87587 Reenables Xrandr and Xinerama support. Untested 2014-10-08 23:00:19 +02:00
krypt-n
dc5edd2863 Initial port of xft support to a recent bar version 2014-10-08 21:47:26 +02:00
Giuseppe
e9cdee9701 Merge pull request #78 from rootcoma/fix_click_area
Fix the bounds checking for area_get.
2014-08-27 10:24:08 +02:00
LemonBoy
dbbdf373a3 Better alpha mixing, should produce correct results 2014-08-20 22:42:10 +02:00
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