Commit graph

24 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
027fd7df3d
Add simple block for playerctl 2017-10-03 19:49:49 +02:00
Jack Henschel
a94b08b0e2 Update example.config with YABAR_VOLUME config change 2017-03-24 23:09:09 +01: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
a2c8d036aa Add example for YABAR_WIFI block in README.md 2017-03-19 21:49:57 +01:00
Jack Henschel
af34db3613 Update example config 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
03328b61a6 add example config and fix mixed indents 2017-03-14 20:52:12 -07:00
Jack Henschel
bda93ff007 Merge example configs into one (example/example.config) 2017-02-23 21:30:07 -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
losynix
c6a9e3d345 add volume internal block 2016-09-15 18:48:09 +02:00
losynix
9d34ec7fb8 Bandwidth blk : 'default' option1
This is done by reading /proc/net/route
2016-09-06 21:45:22 +02: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
NBonaparte
756c1909ff Added internal battery block. 2016-04-14 17:16:07 -07: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
baaef3b7e7 Update internal1.config 2016-04-08 13:46:47 +02:00
geommer
d367b3f65b Add internal1.config. 2016-04-01 23:38:26 +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
~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
bd17bc5e42 add scrots 2016-03-15 12:31:35 +02:00
geommer
53ad261911 Initial commit 2016-03-14 13:52:48 +02:00