Commit graph

300 commits

Author SHA1 Message Date
losynix
c6a9e3d345 add volume internal block 2016-09-15 18:48:09 +02:00
losynix
e779016408 close file after reading it 2016-09-08 11:39:43 +02:00
losynix
9d34ec7fb8 Bandwidth blk : 'default' option1
This is done by reading /proc/net/route
2016-09-06 21:45:22 +02:00
geommer
bc24863afa implement a saner implementation for variable width feature 2016-08-26 02:11:25 +02:00
George Badawi
0bcfc3ebbc Merge pull request #102 from jacksgt/fix-typos
Fix minor spelling errors
2016-08-26 02:54:38 +03:00
George Badawi
b50f371c2c Merge pull request #103 from jacksgt/makefile-version
Make VERSION in Makefile externally overwriteable
2016-08-26 02:53:53 +03:00
George Badawi
c99599619a Merge pull request #109 from sviande/inherit_segfault
Fix segfault for inherit-all attr on bar
2016-08-26 02:53:24 +03:00
George Badawi
3e39722136 Merge pull request #110 from jacksgt/add-packages-to-readme
Add links to Debian / Ubuntu packages
2016-08-26 02:52:48 +03:00
George Badawi
c78e99a242 Merge pull request #104 from jacksgt/makefile-ldflags
Make LD FLags in Makefile extensible
2016-08-26 02:51:20 +03:00
Jack Henschel
c29359b23d Add links to Debian / Ubuntu packages
Reformat 'Installation' into 'Packages' and 'From Source'
Add overview for packages in the AUR, Debian and Ubuntu
2016-08-15 20:54:56 +02:00
Sébastien Viande
4156aec956 Fix segfault for inherit-all attr on bar 2016-08-12 18:57:02 +02:00
Jack Henschel
25f2f3ef4e Make LD FLags in Makefile extensible
Just like the CFLAGS variable, the LDLIBS variable should be
extensible with environment variables.
This is for example required because Debian packages (should be)
built with special hardening flags:
https://wiki.debian.org/Hardening
2016-08-06 22:19:57 +02:00
Jack Henschel
be2c74a0ca Make VERSION in Makefile externally overwriteable
For various enviroment it is very valuable to have externally
overwriteable versions (such as distribution packaging, where
a maintainer wants to set a specfic version).
Also, not all build enviroments have git available (e.g. Debian),
therefore the expression `$(shell git describe)` would be evaluated
to ''. This patches makes the version variable used in the Makefile
overwriteable with an environment variable.
2016-08-06 22:14:13 +02:00
Jack Henschel
be42d2b5ee Fix minor spelling errors
Fix minor spelling mistakes in README.md, doc/yabar.1 and
include/yabar.h
2016-08-06 22:06:53 +02:00
George Badawi
94e05dd625 Merge pull request #94 from kjdev/loadavg
Add load average
2016-07-22 00:54:30 +03:00
George Badawi
b08c80cbed Merge pull request #91 from jacksgt/update-deps
Update dependencies and list AUR packages (partially fixes #89)
2016-07-22 00:52:24 +03:00
George Badawi
4aff5aa8b1 Merge pull request #82 from Fabiuz99/patch-1
Update Readme
2016-07-22 00:29:22 +03:00
George Badawi
bf11b6e68e Merge pull request #84 from jacksgt/master
Fix format error warning when compiling
2016-07-22 00:29:01 +03:00
George Badawi
785ec47daf Merge pull request #85 from jacksgt/fix-makefile
Add Missing Cleanup to Makefile
2016-07-22 00:26:22 +03:00
kj
b7630187c9 Fixed xcb-ewmh window position 2016-07-07 10:23:09 +09:00
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