Commit graph

280 commits

Author SHA1 Message Date
kj
e3853f0c1f Add load average 2016-07-07 10:18:50 +09:00
Jack Henschel
c44e771f2e Update dependencies and list AUR packages
Add `gdk-pixbuf2` as a dependency (introduced by 407992b)
and list the AUR packages maintained by @geommer.

Reformat dependencies for Fedora and Debian/Ubuntu as a list
(better readability)
2016-07-06 09:15:22 +02:00
Jack Henschel
37144834e7 Add Missing Cleanup to Makefile
The Makefile builds object files in src/ and src/intern_blks/,
however the clean target only deleted object files inside src/

Now the clean target deletes object files in src/, src/intern_blks/
and the program itself
2016-06-21 23:23:24 +02:00
Jack Henschel
14014ee05a Fix format error warning when compiling
Previously, when compiling with default settings for Debian pkgs,
building was impossible:

cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Iinclude -pedantic -Wall -Os `pkg-config --cflags pango pangocairo libconfig` -Wdate-time -D_FORTIFY_SOURCE=2
-DVERSION=\"0.4.0-1-g44211c1\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH  -c -o src/ya_parse.o src/ya_parse.c
src/ya_parse.c: In function ‘ya_inherit_blk’:
src/ya_parse.c:116:3: error: format not a string literal and no format arguments [-Werror=format-security]
   fprintf(stderr, per);
   ^
src/ya_parse.c:126:3: error: format not a string literal and no format arguments [-Werror=format-security]
   fprintf(stderr, per);
   ^
cc1: some warnings being treated as errors
<builtin>: recipe for target 'src/ya_parse.o' failed
2016-06-21 22:28:37 +02:00
geommer
30e78c0764 Merge branch 'master' into dev_var_width 2016-06-20 11:52:20 +02:00
Fabio Iacovino
22c4020960 Update Readme
I think that the font icons of "YABAR_BANDWIDTH" are inverted
2016-06-17 12:14:14 +02:00
George Badawi
b583b3417c Merge pull request #81 from abarbu/master
better window title handling and an explanation for missing titles
2016-06-15 09:02:49 +03:00
Andrei Barbu
7e6cc02466 better window title handling and an explanation for missing titles 2016-06-13 22:44:13 -04:00
geommer
82e6a2789e fast improvement for fix #69 2016-06-14 03:12:08 +02:00
geommer
d681b94ee6 Merge branch 'master' of ssh://github.com/geommer/yabar 2016-06-14 02:54:12 +02:00
George Badawi
523b2362b4 Merge pull request #64 from tryone144/master
Fixed segfault when omitting option 1 for internal date block
2016-06-14 02:37:37 +03:00
George Badawi
b9b692b956 Merge pull request #69 from abarbu/master
Fix segfault for some windows with odd ways of handling titles (steam & spotify)
2016-06-14 02:21:45 +03:00
Neven Miculinic
5029a373ac Refactored same code in file
DRY -- don't repeat yourself. Much code was repeated,
mostly error control. Also used ferror instead of checking
return code from fscanf. Resulting code is cleaner and shorter.
2016-06-04 23:48:15 +01:00
Andrei Barbu
5d6b388a49 xcb_ewmh_get_wm_name_reply frees the reply on return leading a double free if it's again wiped 2016-06-04 16:52:56 -04:00
Bernd Busse
31b37789ab Fixed segfault when omitting option 1 for internal date block 2016-06-02 21:23:32 +02:00
George Badawi
c7881b2a34 Merge pull request #60 from NBonaparte/master
Fixed internal options 2 and 3 from dec to hex for the internal temperature block.
2016-05-17 14:21:09 +03:00
NBonaparte
d49de2cccc Fixed internal options 2 and 3 for the internal temperature block, and
added examples to the README and config. Also removed whitespace in
README.
2016-05-16 15:48:27 -07:00
geommer
fc8da89d8b simple cleanups 2016-05-10 20:39:28 +02:00
geommer
24ec12a7ad some ya_draw.c cleanup 2016-05-09 18:22:21 +02:00
geommer
b47e04a839 move ya_handle_button() to ya_exec.c 2016-05-09 16:19:50 +02:00
geommer
f7d188ea2a remove locking before calling ya_draw_text_pango 2016-05-09 16:05:22 +02:00
geommer
e5c77b711d A more sane? implementation for variable width feature 2016-05-02 14:02:54 +02:00
geommer
4b06c264d5 Add YA_VAR_WIFTH for curwidth blk member in ya_parse.c 2016-04-25 19:26:48 +02:00
geommer
c0b0692208 Add comments to yabar.h 2016-04-25 09:53:26 +02:00
geommer
a681a25e59 correct calculation of othw in ya_set_width_resetup() 2016-04-25 08:53:16 +02:00
geommer
252d455ca2 cleanup once-type block thread 2016-04-25 07:20:19 +02:00
geommer
d309ca4a72 Add comments to ya_exec.c 2016-04-25 07:16:35 +02:00
geommer
a2b59877a0 Add comments to ya_draw.c 2016-04-24 16:35:58 +02:00
geommer
0d096c44f9 Add variable width for block support. 2016-04-24 07:45:44 +02:00
geommer
8027cce1cc Merge branch 'master' of ssh://github.com/geommer/yabar 2016-04-18 18:03:39 +02:00
geommer
192ecbea90 Fix potential segfault for strncpy 2016-04-18 18:01:40 +02:00
geommer
cafb98bea6 close potential opened files before intern blk thread exist 2016-04-18 17:30:29 +02:00
geommer
9f22bd72d1 Fix typo README 2016-04-17 23:06:59 +02:00
George Badawi
9fdadec91b Merge pull request #53 from NBonaparte/master
Prevents extra space in battery block if not using indicators.
2016-04-16 02:54:42 +03:00
NBonaparte
3545048e63 Prevents extra space in battery block if not using indicators. 2016-04-15 16:30:21 -07:00
geommer
a8d058bfb8 Restructure icon support members into a single struct 2016-04-15 20:48:10 +02:00
geommer
7d4069e534 Update README and man. 2016-04-15 19:08:06 +02:00
George Badawi
a187dee742 Merge pull request #51 from NBonaparte/master
Added internal battery block.
2016-04-15 03:55:36 +03:00
NBonaparte
756c1909ff Added internal battery block. 2016-04-14 17:16:07 -07:00
geommer
45443a72cf Add change bar color when no active window in current desktop. 2016-04-14 22:14:48 +02:00
geommer
2d6bce95ca Correct inherit bar bgcolor when no block bgcolor defined. Fixes #49. 2016-04-13 20:50:43 +02:00
geommer
e515043f7d Add swap files to gitignore 2016-04-13 03:43:38 +02:00
geommer
1c97ac5535 remove unnecessary swap file 2016-04-13 03:29:33 +02:00
George Badawi
5be8799655 Merge pull request #47 from NBonaparte/master
Added spacing feature to internal blocks.
2016-04-13 03:58:09 +03:00
NBonaparte
4ec639753e Changed spacing to internal-spacing and moved setting to internal blocks. 2016-04-12 17:41:12 -07:00
NBonaparte
ce44c5099a Added spacing feature to internal blocks. 2016-04-12 17:41:12 -07:00
geommer
eb27021709 Fix when title len is larger than buffer. 2016-04-12 20:07:24 +02:00
geommer
0a67ff095d Update man 2016-04-12 18:36:34 +02:00
geommer
e404003c31 Merge branch 'master' of ssh://github.com/geommer/yabar 2016-04-12 16:42:40 +02:00
geommer
da8f8c5de7 Add icon support in README. 2016-04-12 16:41:09 +02:00