Michael Carlberg
15f880eba4
fix(mpd): Handle broken connections
2017-01-13 13:02:51 +01:00
Michael Carlberg
22140f7db9
refactor(builder): Action wrapped labels
2017-01-13 13:01:46 +01:00
Michael Carlberg
e1dbd98c40
feat(string_util): Custom stringstream
2017-01-13 13:01:22 +01:00
Michael Carlberg
6fb48c8e6f
feat(build): Add flag for drawing visible whitespace
2017-01-13 11:04:43 +01:00
Michael Carlberg
a26a15d485
fix(config): Type mismatch
2017-01-13 10:57:43 +01:00
Michael Carlberg
8d355f8255
fix(ipc): Avoid clearing module content
...
Refs #324
2017-01-13 05:33:34 +01:00
Michael Carlberg
cacc11e3a2
fix: Do not require bar name to list monitors
...
Refs #208
2017-01-13 04:50:33 +01:00
Michael Carlberg
b48a275235
feat(command_line): Properly handle positional args
2017-01-13 04:47:25 +01:00
Michael Carlberg
761b224f7c
fix(xrandr): Merge outputs and 1-output monitors
...
Refs #280
2017-01-13 04:31:54 +01:00
Michael Carlberg
081578b168
fix(cmake): Require XRandR 1.5+ for monitor support
...
Refs #280
2017-01-13 04:13:46 +01:00
Michael Carlberg
506ac3e4ac
fix(xrandr): Enable monitor support by default
...
Refs #280
2017-01-13 04:02:27 +01:00
Michael Carlberg
385572ec64
feat(xrandr): Support for monitors
...
Refs #280
2017-01-13 03:52:57 +01:00
Michael Carlberg
40493497de
fix: Allow size_t narrowing
2017-01-13 01:14:50 +01:00
Michael Carlberg
0a24dc4912
fix(cmake): Use target_compile_options
for libflags
...
Refs #308
2017-01-13 01:05:10 +01:00
Michael Carlberg
6dd72aa6f7
refactor(fs): Read /proc/self/mountinfo
...
Refs #271
2017-01-12 23:33:32 +01:00
Michael Carlberg
c2ac7fde67
refactor: Filesize strings
2017-01-12 20:28:44 +01:00
Michael Carlberg
9184a8b046
fix(memory): Safety check
2017-01-12 20:25:57 +01:00
Michael Carlberg
2cde3f31a0
fix(config): Comply to parameter naming scheme
2017-01-12 18:09:56 +01:00
Michael Carlberg
d49b1cacd3
fix(config): Rename parameter for individual border size
...
Rename `border-{left,top,right,bottom}` to `border-{left,top,right,bottom}-size`
to follow the naming scheme used for other size parameters
2017-01-12 17:55:56 +01:00
Michael Carlberg
ca1aac2ed6
feat(config): Shorthand for {padding,module-margin}-{left,right}
2017-01-12 17:32:11 +01:00
Michael Carlberg
f72ddf9294
refactor(signals): Use full namespace
2017-01-12 16:34:14 +01:00
Michael Carlberg
da9f1d90f4
fix(controller): Ensure module runstate
2017-01-12 16:33:41 +01:00
Michael Carlberg
f33d383726
refactor: Wait with tray initialization until ready
2017-01-12 16:12:54 +01:00
Michael Carlberg
ef6f649579
fix(fs): Make sure to match with correct mtab entry
...
Fixes #321
2017-01-12 15:30:47 +01:00
Michael Carlberg
5773b08cf8
fix(script): Poll file descriptors
2017-01-11 18:21:58 +01:00
Michael Carlberg
d7d0fbcae4
fix(battery): Safety check
...
Make sure returned label is valid before access.
Refs #318
2017-01-11 15:01:39 +01:00
Michael Carlberg
30201bac38
fix(env_util): Add missing header
2017-01-11 09:28:39 +01:00
Michael Carlberg
e441332f40
fix(xbacklight): Value type
2017-01-11 09:23:27 +01:00
Michael Carlberg
5b33ada576
refactor(common): Cleanup
2017-01-11 07:17:54 +01:00
Michael Carlberg
568837d06a
fix(x11): Preload the _NET_WM_WINDOW_OPACITY atom
2017-01-11 05:00:23 +01:00
Michael Carlberg
5c9bfc147c
fix(xbacklight): Lower inc/dec value to 5 and fix flooring
2017-01-11 04:40:10 +01:00
Michael Carlberg
8cc885c316
refactor: Cleanup
2017-01-11 03:07:28 +01:00
Michael Carlberg
c1aa3319a1
fix(menu): Close tree when item commands are invoked
2017-01-11 02:44:44 +01:00
Michael Carlberg
30f516dd7d
fix(formatting): Make formats parse specs as-is
...
This removes the spacing tinkering when parsing format specs.
The following example uses the old behavoir:
format-test = <label-foo> <label-bar>
format-breaks = <label-foo><label-bar>/<bar-test>
`format-test` would replace all occurences of ' ' with the
a space string with defined `spacing` as its width. `format-breaks` would
not validate as the tags where split with ' ' as delimiter.
All that nonsense has been removed and each tag is extracted as is.
The `spacing` parameter can still be used to apply N extra whitespaces
between the tags, but it is now 0 by default.
2017-01-11 02:43:37 +01:00
Michael Carlberg
f4e8051e9e
refactor(script): Merge back script handling
2017-01-10 05:12:53 +01:00
Michael Carlberg
946843ff59
feat(script): Configurable condition using exec-if
...
Add new config parameter `exec-if = cmd` that needs to
exit successfully before the main exec command will be invoked.
Closes #298
2017-01-10 03:02:00 +01:00
Michael Carlberg
79856d7ed2
feat(ipc): Add polybar-msg to facilitate ipc messaging
2017-01-10 02:09:33 +01:00
Michael Carlberg
0f0d786cbd
fix(ipc): Always close file descriptor on receive
2017-01-09 23:09:16 +01:00
Michael Carlberg
7a26254844
feat(ipc): Initial exec of configured hook
...
Adds a new config parameter `initial = N` that will
make the hook at defined index N execute on start.
2017-01-09 23:06:41 +01:00
Michael Carlberg
f4406783e2
fix(signals): Use pointer to value
...
Only pass pointers to emitted signal value since the signal receivers
will be called on the same thread as the signal emitter.
Refs #302
2017-01-09 18:52:04 +01:00
Michael Carlberg
5f6a1f5ae6
fix(xkeyboard): Use separate throttle timers
2017-01-09 16:40:26 +01:00
Michael Carlberg
3d6084f0c0
fix(controller): Always process forced update events
2017-01-09 16:35:28 +01:00
Michael Carlberg
3722ac1617
fix(label): Drop token close character from suffix substring
...
Refs #305
2017-01-09 15:23:51 +01:00
Michael Carlberg
eeaad512a9
fix(battery): Calculation of remaining dis-/charge seconds
...
- Optimize calculation
- Do not allow division by zero
Refs #303
2017-01-09 14:58:14 +01:00
Michael Carlberg
6925415501
fix(tray): Force bar update on change
...
Refs #295
2017-01-09 14:27:56 +01:00
Michael Carlberg
35f441cdde
fix(fs): Mounted state
...
Fixes #271
2017-01-08 20:42:59 +01:00
Michael Carlberg
ef442025fa
fix(battery): File contents comparison
...
Refs #297
2017-01-07 12:08:16 +01:00
Michael Carlberg
5c55beed7b
fix(fs): Value type
2017-01-02 02:50:22 +01:00
Michael Carlberg
e0688307f3
wip(systray): Add module base
2017-01-01 21:28:28 +01:00
Michael Carlberg
6341c7ab25
refactor(config): Defer xrm initialization
2017-01-01 21:12:38 +01:00