Commit graph

35 commits

Author SHA1 Message Date
Maximilian Bosch
5aa1fb5eb5
Add indicator to show current indicator using libxkbcommon
The indicator is based on XCB-XKB and `libxkbcommon`. It can be tested
using the following configuration:

```
bar-list = ["bar"];
bar: {
  position: "top";
  block-list: ["ya_xkb"];
  ya_xkb: {
    exec: "YABAR_KEYBOARD_LAYOUT";
    interval: 1;
  };
}
```

The followinng new dependencies have been introduced:

- libxkbcommon-dev
- libxkbcommon-x11-dev
- libxcb-xkb-dev

Both work with libxcb and allow the usage of XKB through an XCB session.
In this case the session `ya.c` created by `src/ya_exec.c` can be used
for this indicator, so no extra X11 logic is needed.
2017-12-29 08:59:47 +01:00
Maximilian Bosch
65c240ac80
Fix segfault caused by wrong value order in type enum 2017-10-12 07:58:38 +02:00
Maximilian Bosch
bd4d6c2fd7
Fix enum size in yabar.h to fix compiler warning 2017-10-05 19:45:14 +02:00
NBonaparte
89925b565a name GET_GREEN and GET_BLUE correctly 2017-03-24 23:21:25 -07:00
kj
fe32c034fa Add text offset size 2017-03-24 10:17:35 +09:00
NBonaparte
8dde730825 Merge branch 'transfer-disk-blk' 2017-03-21 10:51:06 -07:00
NBonaparte
8fbd9fb6ba Add monitor fallback, auto reload on screen change (#137)
Fixes #73.
2017-03-19 15:24:57 -07:00
Jack Henschel
57299e59e7 Minor indentation fix (tab instead of space) 2017-03-18 17:38:29 +01:00
Jack Henschel
56436505c0 Initial import of wifi block 2017-03-18 17:38:29 +01:00
losynix
3f9ba1a67b add disk usage block 2017-03-14 20:52:12 -07: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
f659cb8bb8 Merge pull request #92 from kjdev/ewmh-position
Fixed xcb-ewmh window position
2017-02-03 04:05:40 +02:00
losynix
c6a9e3d345 add volume internal block 2016-09-15 18:48:09 +02:00
geommer
bc24863afa implement a saner implementation for variable width feature 2016-08-26 02:11:25 +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
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
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
e5c77b711d A more sane? implementation for variable width feature 2016-05-02 14:02:54 +02:00
geommer
c0b0692208 Add comments to yabar.h 2016-04-25 09:53:26 +02:00
geommer
0d096c44f9 Add variable width for block support. 2016-04-24 07:45:44 +02:00
geommer
a8d058bfb8 Restructure icon support members into a single struct 2016-04-15 20:48:10 +02: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
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
407992b5b5 Add initial icon support 2016-04-12 16:23:12 +02:00
geommer
f7b820fa25 Introduce internal EWMH blocks (title & workspace). 2016-04-06 17:47:53 +02:00
geommer
31064f19bf Add support for dynamic color change 2016-04-04 22:57:05 +02:00
geommer
33199ef5e1 Add cpu & diskio inten blks. 2016-04-01 19:24:36 +02:00
geommer
3b2218f454 Add buttons for bar, its action is overriden by block buttons if defined. 2016-03-29 12:36:08 +02:00
geommer
d241bfba86 Add memory internal block. 2016-03-28 18:42:20 +02:00
geommer
c92baa1bca Add bandwidth internal block. 2016-03-28 14:49:15 +02:00
geommer
858485506c Add include & intern_blks directories. 2016-03-28 12:15:36 +02:00