Commit graph

25 commits

Author SHA1 Message Date
Paul Davis
3a3a361ae0
Update yabar.1.asciidoc 2018-01-18 15:56:13 -07:00
Maximilian Bosch
1f776cd5f1
ya_int_song: improve configuration of playerctl properties
It's now possible to declare which properties from `playerctl`
(supported are `album`, `artist`, `title`) should be shown in the song
indicator. Before this, the usage of `<artist> - <title>` was hard-coded
which wasn't that usable if artist and/or title were quite long, now
it's up to the user what he wants to see.

The configuration can be used like this:

```
bar-list = ["bar"];
bar: {
  position: "top";
  block-list: ["ya_song"];
  ya_song: {
    exec: "YABAR_SONG";
    internal-option1: "spotify";
    internal-option3: "title artist album";
  }
}
```
2018-01-16 18:11:58 +01:00
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
bea8616adc Remove invalid semicolon from documentation example 2017-04-15 20:37:58 +02:00
Jack Henschel
f436df4461 Update documentation from README 2017-04-15 10:12:59 +02:00
Jack Henschel
dc035f51fa Update documentation from wiki pages 2017-04-15 09:49:42 +02:00
Jack Henschel
f54f04338e Add links to AsciiDoc syntax documentation 2017-04-14 20:44:19 +02:00
Jack Henschel
fde727da17 Add more syntax highlighting to documentation 2017-04-14 20:31:22 +02:00
Jack Henschel
28f98a5808 Remove unnecessary whitespaces 2017-04-14 20:13:19 +02:00
Jack Henschel
f0cfb5a5ce Remove obsolete yabar man page 2017-04-14 17:08:59 +02:00
Jack Henschel
de262f0e70 Inital import of yabar manpage into asciidoc 2017-04-14 16:43:15 +02: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
losynix
3f9ba1a67b add disk usage block 2017-03-14 20:52:12 -07: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
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
geommer
0d096c44f9 Add variable width for block support. 2016-04-24 07:45:44 +02:00
geommer
7d4069e534 Update README and man. 2016-04-15 19:08:06 +02:00
geommer
0a67ff095d Update man 2016-04-12 18:36:34 +02:00
geommer
746387f011 Update man. 2016-04-08 23:27:30 +02:00
Linden Krouse
c4c13f355b Added width option to documentation 2016-03-14 23:37:04 -04:00
geommer
53ad261911 Initial commit 2016-03-14 13:52:48 +02:00