Commit Graph

87 Commits

Author SHA1 Message Date
Nathan Hoad ad8d903131 Don't free the screen resources reply until we absolutely have to.
On my system, premature free'ing resulted in an error at the
xcb_randr_get_output_info_reply call, so randr didn't work at all.
2014-02-15 21:02:59 +11: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
LemonBoy 8ded08b495 Don't delete config.h on clean target 2014-02-12 13:21:13 +00:00
Giuseppe 38fcb6d710 Merge pull request #37 from jvvv/wip_randr
RandR support by @jvvv
2014-02-12 09:36:15 +00:00
John Vogel 88b482596f Rebase fixup, two. 2014-02-11 23:29:40 -05:00
John Vogel 74ce792202 Fixup for rebase. 2014-02-11 23:20:03 -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
Giuseppe 38183db9a1 Merge pull request #35 from freestyl3r/master
Silence the warning about not checking fgets return value
2014-02-05 12:42:30 +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
Giuseppe 8404c78c18 Merge pull request #26 from boblehest/master
Fix issue LemonBoy/bar#25
2013-12-21 01:02:00 -08:00
Jørn Lode 1e0059742a Fix issue LemonBoy/bar#25 2013-11-16 15:07:53 +01:00
LemonBoy 7b76711980 Add Xinerama explanation in the readme 2013-10-02 08:21:43 +00:00
Steven Allen ac29e045e6 Add optional Xinerama support
Enable by making with `make XINERAMA=1`
2013-09-30 12:09:40 -04:00
LemonBoy 4437b0c674 Fix issue #22 2013-09-30 16:03:36 +00: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 42ab142e74 Adjust Makefile. Fixes #19 2013-08-18 21:04:21 +02: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
Giuseppe febe0f822d Merge pull request #13 from Ypnose/master
Operators
2012-10-21 01:31:34 -07:00
Ypnose 8c15118476 PREFIX?=/usr 2012-10-20 19:47:42 +03:00
Ypnose f15760305e PREFIX
Now system packages / softwares and user softwares are separated
2012-10-16 03:05:11 +03:00
Ypnose 651cdf38d4 Deleted symbols
With a custom PKGBUILD (on Archlinux), Makepkg command fails with the previous operators. Now, we can build the package without any issues.
2012-10-14 15:21:26 +03:00
Giuseppe 930e05eb9a Merge pull request #12 from Ypnose/master
Added Uninstall into Makefile
2012-10-12 15:53:24 -07:00
Ypnose ffb259ac6b Removed echo 2012-10-12 15:53:21 +03:00
Ypnose a24d3be5be Added uninstall option 2012-10-12 15:14:39 +03: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
Giuseppe 278f1b7cc5 Merge pull request #10 from c00kiemon5ter/widthoffset
add bar width and leading offset configuration options
2012-08-18 04:46:31 -07:00
Ivan Kanakarakis 80fd31b32c add bar width and leading offset configuration options 2012-08-18 14:15:03 +03:00
Giuseppe f6801f83e3 Merge pull request #7 from guelfey/master
Some small improvements (with correct cleanup)
2012-08-18 02:56:46 -07: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
Giuseppe c36808d3f9 Merge pull request #8 from mil/master
Add how to clear underline color in README
2012-07-29 12:17:11 -07:00
= ef18b389ce Typo, added the 2012-07-26 20:07:36 -04:00
= b74ceb323a Specify how to clear underline color in README 2012-07-26 20:06:02 -04: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