Commit graph

34 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
9809dcd07d
Make playerctl support optional with a compiler flag
As Ubuntu doesn't provide `playerctl` by default, it's better to make
this optional.

Furthermore another build with playerctl support has been added to the
CI matrix.
2017-10-05 08:24:54 +02:00
Maximilian Bosch
027fd7df3d
Add simple block for playerctl 2017-10-03 19:49:49 +02:00
Paulo Matos
db24e923da Move to optimizing for speed with LTO. 2017-09-08 23:39:09 +02:00
Jack Henschel
3ab78dbe49 Add Make target for automatic man page generation 2017-04-14 17:07:50 +02:00
NBonaparte
fee2f86db7 add volume mapping option 2017-03-21 14:48:28 -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
56436505c0 Initial import of wifi block 2017-03-18 17:38:29 +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
losynix
c6a9e3d345 add volume internal block 2016-09-15 18:48:09 +02: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
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
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
geommer
0d096c44f9 Add variable width for block support. 2016-04-24 07:45:44 +02:00
geommer
45443a72cf Add change bar color when no active window in current desktop. 2016-04-14 22:14:48 +02: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
f90174cf0b Use env vars using conditional compilation (Used by default). 2016-04-05 14:13:12 +02:00
geommer
a1d7c3e615 Add -DYA_DYN_COL to makefile. 2016-04-04 23:18:02 +02:00
geommer
103bd7e75a Change gcc optimization from O2 to Os. 2016-03-31 23:34:07 +02:00
geommer
734a644017 Minor cleanup for makefile. 2016-03-28 12:47:20 +02:00
geommer
858485506c Add include & intern_blks directories. 2016-03-28 12:15:36 +02:00
geommer
55ec2668c7 Make buffer size 1024 for now; will change to dynamic memory soon for more flexibility 2016-03-27 09:39:10 +02:00
geommer
c49ddda6f1 Many cleanups && RandR gets always compiled now. 2016-03-24 11:37:27 +02:00
geommer
5d6c34c011 Change makefile for Ubuntu issues. Fixes #18 2016-03-20 17:09:42 +02:00
geommer
e072643df8 change makefile possible fix for #22 2016-03-20 07:42:56 +02:00
geommer
fd3653d3ca final fix for #9? 2016-03-19 13:04:40 +02:00
geommer
4bb21c6245 update makefile optimization to O0, possible fix for #9 2016-03-19 11:36:34 +02:00
geommer
f13efbf9f2 just getting monitors info 2016-03-17 20:07:42 +02:00
geommer
7ffc1e19d6 add pedantic to makefile 2016-03-17 08:58:30 +02:00
geommer
58bb6fb5ef add version to Makefile 2016-03-15 11:22:46 +02:00
garzr
c78d3fbe54 Added to install rule in Makefile. 2016-03-14 23:38:51 -04:00
geommer
53ad261911 Initial commit 2016-03-14 13:52:48 +02:00