Commit graph

285 commits

Author SHA1 Message Date
geommer
c483112c63 Add some error handling for inheritance options. 2016-03-27 13:38:05 +02:00
geommer
c280306ca2 Implement block buffers using dynamic memory. 2016-03-27 12:28:10 +02:00
geommer
898364debe Add some robustness when invalid/non-existent bar/block entries. 2016-03-27 10:41:51 +02:00
geommer
55ec2668c7 Make buffer size 1024 for now; will change to dynamic memory soon for more flexibility 2016-03-27 09:39:10 +02:00
George Badawi
1c76e8347b Merge pull request #42 from Lindenk/fix_pid_types
Changed type of local pids in block exec functions to pid_t
2016-03-26 19:56:57 +02:00
George Badawi
a40894b8f2 Merge pull request #33 from Lindenk/bigger_blk_buffer
Increase buffer size to 4096 & omit clearing buffer using memset
2016-03-26 19:56:32 +02:00
Linden Krouse
71ad09eef6 Changed type of local pids in block exec functions to pid_t 2016-03-26 13:05:48 -04:00
Linden Krouse
a3cfd08767 Increased block text buffer size and optimized out memset calls 2016-03-26 12:59:33 -04:00
Linden Krouse
7261b8cf8e Added error handling to read calls for blocks 2016-03-26 12:56:20 -04:00
geommer
ec105d0f59 add several internal blks; use conditional compilation for internal blks 2016-03-26 15:41:24 +02:00
George Badawi
bd8aa7425c Merge pull request #39 from huffstler/patch-1
Add rgb background color to example.config
2016-03-26 08:16:09 +02:00
geommer
b01d6ee3c6 introduce support of internal blocks; add internal time and uptime blks 2016-03-25 15:16:57 +02:00
~P
d3a220f2d4 placed the extra space back
that was an accident. :|
2016-03-24 19:37:07 -04:00
~P
458a3766c9 switched background color in example
Made it default to a non-transparent black in case people use compton and don't know how it will affect how yabar displays. Related to issue #11.
2016-03-24 19:34:53 -04:00
geommer
9909914c06 add minor comments and cleanups to yabar.h 2016-03-24 20:31:03 +02:00
geommer
dcf0608312 correct wrong macro 2016-03-24 19:40:31 +02:00
geommer
be107a0c5f minor cleanups 2016-03-24 16:13:03 +02:00
geommer
45bc248c67 Rename a couple of ya_block_t members. 2016-03-24 15:29:54 +02:00
geommer
c49ddda6f1 Many cleanups && RandR gets always compiled now. 2016-03-24 11:37:27 +02:00
geommer
cc715a181e introduce ya_parse.c 2016-03-23 20:29:35 +02:00
geommer
8074070756 introduce ya_parse.c 2016-03-23 20:28:42 +02:00
geommer
5e6e15eb9e add inherit option. Fixes #25 2016-03-23 20:06:48 +02:00
geommer
668e80a7ec set correct length for monitor name. Fixes #36 2016-03-23 11:13:14 +02:00
geommer
0b177d080a add text justify block-specific option 2016-03-23 10:57:09 +02:00
geommer
858a355fba minor cleanups 2016-03-23 09:13:58 +02:00
geommer
d6c642a181 Add safer use of string functions 2016-03-23 08:41:09 +02:00
geommer
74daddd2d4 drop travis. It uses incompatible old libconfig1.4 2016-03-22 14:00:43 +02:00
geommer
cda019aa76 update travis 2016-03-22 13:49:14 +02:00
geommer
74df29f9b3 update travis 2016-03-22 13:26:29 +02:00
geommer
76f4293e7b update travis 2016-03-22 13:22:28 +02:00
geommer
af637b265d update travis 2016-03-22 13:16:30 +02:00
geommer
e6191f6a11 update travis 2016-03-22 13:00:59 +02:00
geommer
296c977129 update travis 2016-03-22 12:56:55 +02:00
geommer
f70a3f63d5 add travis to master 2016-03-22 12:48:28 +02:00
geommer
be4f0fcafc kill only persist child, improves fix #34. 2016-03-22 07:46:28 +02:00
geommer
db71233e66 Merge pull request #34 from Lindenk/fix_unterminated_persist_scripts
Fix unterminated persistent scripts
2016-03-22 07:40:57 +02:00
geommer
d13117d9da Merge pull request #31 from huffstler/patch-1
spelling error in example config file
2016-03-22 07:14:15 +02:00
Linden Krouse
7ab60b46ae Fixed bug where persistent scripts would not exit if yabar was killed through most signals(?) 2016-03-21 21:15:17 -04:00
~P
dd56f58644 spelling error in example config file
Not a big change, but if people copy and paste the config, it wouldn't work off the bat.
2016-03-21 17:51:43 -04:00
geommer
83bb839c56 Add borders to the bar. Fixes #28 2016-03-21 15:36:32 +02:00
geommer
470ab05be1 use _exit instead of exit for fork child 2016-03-21 13:25:45 +02:00
geommer
c9aa3824be Correct Ubuntu dependencies in README. Fixes #27 2016-03-21 06:52:01 +02:00
geommer
5d6c34c011 Change makefile for Ubuntu issues. Fixes #18 2016-03-20 17:09:42 +02:00
geommer
e072643df8 change makefile possible fix for #22 2016-03-20 07:42:56 +02:00
geommer
83c5d32e59 just a small fix for fix #12 2016-03-20 07:17:17 +02:00
geommer
8ec2f53e0c Merge pull request #23 from Lindenk/width_horizonal_gap_default
Fixed #12 - Center bar when width is specified but not horizontal-gap
2016-03-20 07:00:55 +02:00
Linden Krouse
4f7cbf29dd Fixed #12 2016-03-19 22:59:46 -04:00
geommer
fe14a6d11d fallback to depth=24 if no depth=32 2016-03-19 16:01:29 +02:00
geommer
89b2683ade cleanup license 2016-03-19 15:33:49 +02:00
geommer
5dc9fcc027 change licesne from ISC to MIT 2016-03-19 15:29:53 +02:00