Daniel Eklöf
7f1567c973
bar: do generic cursor stuff in bar, not in backend
2019-01-29 21:05:28 +01:00
Daniel Eklöf
0684aaaf95
bar: xcb: cleanup
2019-01-29 21:03:13 +01:00
Daniel Eklöf
4954479e11
bar: generic setup shouldn't be done by a backend
2019-01-29 21:02:10 +01:00
Daniel Eklöf
c2e7b1c507
bar: remove more includes that aren't needed anymore
2019-01-29 21:01:16 +01:00
Daniel Eklöf
36201e251e
bar: no xcb stuff needed directly by bar anymore
2019-01-29 21:00:27 +01:00
Daniel Eklöf
88daaf0ab7
bar: wip: define a 'backend' interface
...
Implement the current XCB backend in terms of this new interface.
2019-01-29 20:59:25 +01:00
Daniel Eklöf
f37dfbc727
module/mpd: free strdup:ed path string
2019-01-29 20:58:55 +01:00
Daniel Eklöf
2d104e4a7d
bar: break out 'private' struct definition to a header file
2019-01-29 20:20:11 +01:00
Daniel Eklöf
aa21991323
bar: move C file to subdirectory
2019-01-29 20:18:37 +01:00
Daniel Eklöf
f5aebc07ef
bar: break out all XCB specific code to separate functions
2019-01-29 20:09:07 +01:00
Daniel Eklöf
8d1afd027b
module/xkb: initialize indicators
...
This fixes a bug where we tried to free invalid indicator names.
2019-01-27 22:05:00 +01:00
Daniel Eklöf
452c4b6015
plugins: export a const function pointer interface struct
2019-01-26 18:32:04 +01:00
Daniel Eklöf
37266ae419
log: colorize console output only when stdout is a tty
2019-01-26 15:14:45 +01:00
Daniel Eklöf
4e03dca051
log: for now, only log errors and warnings to syslog
...
Eventually, this should probably be made configurable, and/or possible
to control through command line options.
2019-01-26 14:56:26 +01:00
Daniel Eklöf
a146bed317
Merge branch 'syslog'
2019-01-26 14:54:20 +01:00
Daniel Eklöf
735ab8daa6
log: always log to both console and syslog
2019-01-26 14:54:04 +01:00
Daniel Eklöf
89a61eed7b
log: add internal function that logs to syslog
...
Differences to the console logger:
* No coloring
* Always use module name, not filename:line-number
2019-01-26 14:53:28 +01:00
Daniel Eklöf
453364e9f8
log: constructor/destructor to initialize/close syslog
2019-01-26 14:52:56 +01:00
Daniel Eklöf
1fe847cb4e
log: remove dead code
2019-01-26 14:52:40 +01:00
Daniel Eklöf
18ba3723d4
module/i3: avoid stack-allocating large buffers
...
This fixes a stack-overflow issue with musl (which uses small stacks).
2019-01-26 13:19:02 +01:00
Daniel Eklöf
a827cc80d4
cmake: make sure we can find i3/ipc.h
...
There's no pkg-config file shipped with i3, so our only option is to
manually look for the file (and assume it can be found in the "normal"
include paths).
2019-01-26 12:30:14 +01:00
Daniel Eklöf
969d51037f
Merge branch 'string-can-format-as-hex-and-octal'
2019-01-21 21:06:02 +01:00
Daniel Eklöf
3f6030df68
tag: add support for "hex" and "oct" format modifiers
2019-01-21 21:05:38 +01:00
Daniel Eklöf
1152f161e1
README: improve description of "realtime" tags
2019-01-21 20:46:48 +01:00
Daniel Eklöf
f71251502c
README: highlighting
2019-01-21 20:46:38 +01:00
Daniel Eklöf
6d659b6a24
README: document tags, and the available types
2019-01-21 20:31:32 +01:00
Daniel Eklöf
be13eb4980
Merge branch 'string-supports-tag-range'
2019-01-21 20:15:46 +01:00
Daniel Eklöf
a0ecc1ff03
tag: add support for "min", "max" and "unit" tag arguments
2019-01-21 20:15:04 +01:00
Daniel Eklöf
7936e197af
tag: add support for an optional tag argument in a tag format string
...
E..g {volume:max}
2019-01-21 20:14:25 +01:00
Daniel Eklöf
09fcedc33f
tag: pull in logging
2019-01-21 20:14:09 +01:00
Daniel Eklöf
a4c13b1978
README: indent alsa example
2019-01-21 19:59:00 +01:00
Daniel Eklöf
b99e3d8ea2
README: document the alsa module
2019-01-21 19:58:17 +01:00
Daniel Eklöf
a5980cd3d3
README: document common module configuration attributes
2019-01-21 19:57:53 +01:00
Daniel Eklöf
451a450cec
README: cleanup bar configuration table
2019-01-21 19:57:25 +01:00
Daniel Eklöf
d90aff22d6
README: re-arrange, turn bar attribute documentation into a table
2019-01-21 19:34:02 +01:00
Daniel Eklöf
b86f8b753d
PKGBUILD: add missing dependency, i3-wm
2019-01-21 19:07:52 +01:00
Daniel Eklöf
2791fa6f4f
PKGBUILD: we don't need all of systemd, just libudev
2019-01-21 19:07:27 +01:00
Daniel Eklöf
f26892d938
bar: allow user to specify _which_ monitor to place the bar on
...
If not specified, the primary monitor will be used.
2019-01-20 22:05:12 +01:00
Daniel Eklöf
ef04097bef
README: gitlab didn't see the nested list. Maybe now?
2019-01-20 19:49:42 +01:00
Daniel Eklöf
30978e70d1
README: gitlab didn't see the nested list. Maybe now?
2019-01-20 19:47:49 +01:00
Daniel Eklöf
fcf36615e4
README: more text, but mostly place holders
2019-01-20 19:47:12 +01:00
Daniel Eklöf
83979cee6f
README: some text; let's see what this looks like
2019-01-20 19:26:31 +01:00
Daniel Eklöf
f6d09ffb3b
README: initial
2019-01-20 18:42:06 +01:00
Daniel Eklöf
fe7128030f
cmake: make sure we check for *all* xcb libs we need
2019-01-20 15:16:14 +01:00
Daniel Eklöf
7f320353b5
ci: build both debug and release
2019-01-20 14:37:25 +01:00
Daniel Eklöf
9e2ebf3cab
module/network: thrd_t isn't an integer in musl
2019-01-20 14:30:39 +01:00
Daniel Eklöf
6c9f8777b3
ci: more deps
2019-01-20 14:26:03 +01:00
Daniel Eklöf
d0bd6bf864
ci: more deps
2019-01-20 14:24:07 +01:00
Daniel Eklöf
5364d4dbda
ci: more deps
2019-01-20 14:20:36 +01:00
Daniel Eklöf
467aac8522
ci: do we need musl-dev?
2019-01-20 14:18:33 +01:00