Commit graph

285 commits

Author SHA1 Message Date
NBonaparte
8dde730825 Merge branch 'transfer-disk-blk' 2017-03-21 10:51:06 -07:00
Jack Henschel
6ecd9c7488 Improve error handling for internal blocks
All internal yabar blocks should use a new function called "ya_block_error"
to signal a fatal error. This function will then automatically print the name
of the corresponding block, along with an error message and exit the thread.
2017-03-20 17:20:00 +01:00
Jack Henschel
a8cc9d07d4 Add missing Debian dependency to README 2017-03-20 17:13:02 +01:00
NBonaparte
8fbd9fb6ba Add monitor fallback, auto reload on screen change (#137)
Fixes #73.
2017-03-19 15:24:57 -07:00
Jack Henschel
5be5c292ce Add wifi block documentation to README 2017-03-19 22:02:01 +01:00
Jack
941ad077b4 Merge pull request #134 from geommer/wifi-block
Internal WiFi block
2017-03-19 21:59:55 +01:00
Jack Henschel
a2c8d036aa Add example for YABAR_WIFI block in README.md 2017-03-19 21:49:57 +01:00
Jack Henschel
884ca23899 Fix indentation 2017-03-18 19:46:47 +01:00
Jack Henschel
57299e59e7 Minor indentation fix (tab instead of space) 2017-03-18 17:38:29 +01:00
Jack Henschel
af34db3613 Update example config for wifi block 2017-03-18 17:38:29 +01:00
Jack Henschel
1c4f8fe1aa Clean up code for wifi block 2017-03-18 17:38:29 +01:00
Jack Henschel
b922e0ca99 Fix c header includes for wifi block 2017-03-18 17:38:29 +01:00
Jack Henschel
6bb4e86080 Update dependencies for wifi block 2017-03-18 17:38:29 +01:00
Jack Henschel
56436505c0 Initial import of wifi block 2017-03-18 17:38:29 +01:00
NBonaparte
db9c1b9fa9 Small fixes
* fix unspecified format warning

* add internal spacing to diskspace block

* fix comment style
2017-03-14 20:52:12 -07:00
losynix
f3849ee4c5 add comments to disk usage block 2017-03-14 20:52:12 -07:00
NBonaparte
03328b61a6 add example config and fix mixed indents 2017-03-14 20:52:12 -07:00
losynix
3f9ba1a67b add disk usage block 2017-03-14 20:52:12 -07:00
NBonaparte
8f6039b291 Minor fixes to #70
Thanks to @nmiculinic for the original code
2017-03-14 20:31:52 -07:00
NBonaparte
f726a74852 use uint8_t for spacing 2017-02-26 13:52:32 -08:00
NBonaparte
d6674597d3 inherit name, old colors, and internal spacing 2017-02-25 17:34:01 -08:00
NBonaparte
6b08e648fc fix strut sizes 2017-02-25 12:17:50 -08:00
Bernd Busse
3075cfc639 add env variables for click position in block (#65) 2017-02-23 23:26:17 -08:00
Jack Henschel
84d059a77a Add missing dependency to travis.yaml 2017-02-23 21:30:07 -08:00
Jack Henschel
bda93ff007 Merge example configs into one (example/example.config) 2017-02-23 21:30:07 -08:00
Jack Henschel
b28dac3bb7 Switch to Travis container based infrastructure (no sudo) 2017-02-23 21:30:07 -08:00
NBonaparte
326bb4e59d Fix struts to be inclusive 2017-02-23 20:11:25 -08:00
NBonaparte
63f0bb222e revert override redirect 2017-02-23 20:02:01 -08:00
NBonaparte
bc091f5957 redraw all bars 2017-02-09 22:52:21 -08:00
Jack
d606a5a81b Add missing dependencies for Fedora in README.md 2017-02-05 14:47:44 +01:00
NBonaparte
227a0ec695 Fixes (#126)
* redraw on exposure

* add override redirect and remove whitespace

* init all strut values to 0

* fix bspwm window order

* add icccm to travis

* add bspwm flag
2017-02-03 15:48:31 -08:00
George Badawi
affbcc7c52 Merge pull request #113 from losynix/default-interface
Bandwidth blk : 'default' option1
2017-02-03 04:16:47 +02:00
George Badawi
f659cb8bb8 Merge pull request #92 from kjdev/ewmh-position
Fixed xcb-ewmh window position
2017-02-03 04:05:40 +02:00
George Badawi
03163e463d Merge pull request #115 from losynix/blk-volume
add volume internal block
2017-02-03 04:04:00 +02:00
losynix
99b5927e11 update dependencies in .travis.yml and README 2016-09-16 08:50:00 +02:00
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