Commit Graph

110 Commits

Author SHA1 Message Date
John Vogel
e7d86b4a8b Merge branch 'wip' into wip-monitor-opts
Conflicts:
	bar.c
2014-02-26 19:19:02 -05:00
John Vogel
6b8c7ba074 Revert "Expect numbered monitors to start at 1."
This reverts commit 9471332595.
2014-02-26 18:50:58 -05:00
LemonBoy
23c531078c Fix a typo in the manpage 2014-02-26 16:43:09 +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
John Vogel
51673e22ac Remove description for removed -a option. 2014-02-25 19:33:06 -05:00
John Vogel
9471332595 Expect numbered monitors to start at 1. 2014-02-25 19:30:38 -05:00
John Vogel
679706b188 Don't check geometry too early. 2014-02-25 19:29:40 -05:00
John Vogel
295f37721d Merge branch 'wip' into wip-monitor-opts
Conflicts:
	README.pod
2014-02-25 19:26:25 -05: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
John Vogel
b14bd2b7c1 Add -m option for monitor specifying and ordering. 2014-02-24 03:51:27 -05: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
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