raidzero
50aba85ad0
Merge remote-tracking branch 'upstream/master'
2017-02-23 14:50:09 -07:00
raidzero
a00f052002
formatting changes
2017-02-23 09:04:49 -07:00
Alex Feldman-Crough
90fa9c8230
Mention NixOS with the other operating systems
2017-02-23 13:29:33 +01:00
Adam Ransom
47bc459742
fix(bspwm): Update when focusing urgent desktops
...
When focusing a desktop with the urgent flag, two events are received
from `bspc` simultaneously, separated by a newline character.
This was not handled correctly and the second event was discarded causing
the urgent style to be removed, but the focused style would remain on the
previously focused desktop.
This fixes the problem by handling any number of events that arrive at the
same time (separated by newlines).
2017-02-23 13:28:26 +01:00
Eivind Uggedal
98610461de
fix(build): POSIX compliant command usage
...
Shells like dash do not support printing paths of more
than one argument with the builtin `command -vp`.
2017-02-23 13:26:18 +01:00
NBonaparte
44f12c6065
feat(xworkspaces): add urgent desktop detection
2017-02-23 13:20:26 +01:00
raidzero
93c425fdfe
Add battery usage/charge in watts token %consumption%
2017-02-16 14:35:43 -07:00
Chase Geigle
bd8e748399
fix(builder): use unicode-aware truncation for label-maxlen
2017-02-16 09:19:26 +01:00
Chase Geigle
73faa18cf0
fix(label): Truncate label replacements based on codepoint count
...
This helps ensure that when a string is truncated it is not done in the
middle of a utf8 multi-byte sequence. This doesn't 100% correspond to
user-perceived characters, but it should be pretty close in most cases.
2017-02-15 14:19:47 +01:00
Michael Carlberg
1d06df25a9
fix(config): Use std::map to store sections #412
2017-02-07 14:56:56 +01:00
Michael Carlberg
1f31870d43
build: Bump version to 3.0.4
2017-02-05 14:09:43 +01:00
Michael Carlberg
384c12a896
fix(xwindow): Lock mutexes on update #416
2017-02-05 13:37:16 +01:00
Tudor Brindus
107bdb91e3
fix(memory): Implement memory updating for pre-3.4 kernels ( #410 )
...
Since 3.4, `/proc/meminfo` contains a `MemAvailable` field, which polybar uses to determine
`(gb|mb)_free` and `(gb|mb)_used`. This commit adds a fallback for when `MemAvailable` does
not exist, allowing a fairly-accurate approximation on older kernels.
This commit also removes the reliance on the exact order fields appear in `/proc/meminfo`.
2017-02-04 18:19:58 +01:00
Michael Carlberg
9ced7dbf73
fix(xcomposite): Disable extension query #406
2017-02-04 19:14:10 +01:00
Michael Carlberg
8146f65286
fix(xrender): Add header declarations #406
2017-02-04 19:13:08 +01:00
Michael Carlberg
6fa2d3943c
fix(timer_module): Catch warmup exceptions
...
Refs #399
2017-01-31 12:38:38 +01:00
Michael Carlberg
82d360e634
fix(fs): Use available bytes to calculate free disk space
...
Refs #396
2017-01-30 14:39:06 +01:00
Michael Carlberg
9f1d9a14fd
fix(renderer): Use correct width for top border
...
Refs #390
2017-01-29 15:25:31 +01:00
László Várady
701102d44b
fix(cairo): Fix font prioritization
...
In the previous implementation, std::find() returned fns.end() several times,
which caused an "Address boundary error" in std::sort if the preferred
font-index was set to m_fonts.size() + 1.
This commit reimplements the font prioritization with a simple swap.
Reproduction steps:
- Start polybar with the following config:
[bar/top]
font-0 = NotoSans-Regular:size=8;0
font-1 = MaterialIcons:size=10;0
modules-left = date
[module/date]
type = internal/date
date = %Y-%m-%d
label-font = 3 ; invalid index
2017-01-29 15:16:00 +01:00
László Várady
8a98fb78b6
fix(version): Follow APP_VERSION in POLYBAR_NS
2017-01-29 15:16:00 +01:00
László Várady
7e7dc68e5a
fix(github): Hide label if 'empty-notifications' is disabled
...
Before the first update(), the label should stay 'hidden'.
2017-01-29 15:16:00 +01:00
Michael Carlberg
501921ef12
build: Bump version to 3.0.3
2017-01-27 15:53:44 +01:00
Michael Carlberg
3e4a4ce78f
fix(renderer): Alignment blocks
2017-01-27 15:36:37 +01:00
Michael Carlberg
beedc5ab84
fix(color_util): Parsing
2017-01-27 13:46:27 +01:00
Michael Carlberg
af5f129b76
fix(tray): Drop warning
2017-01-27 13:33:39 +01:00
Michael Carlberg
41f7f82bd0
fix(cmake): Debug check
2017-01-27 13:30:23 +01:00
Michael Carlberg
eb5c82a5c3
fix(modules): Warmup in runner thread to avoid block
2017-01-27 13:29:10 +01:00
Michael Carlberg
b241018786
fix(aur): Cleanup
2017-01-27 04:15:41 +01:00
Michael Carlberg
dc366079ae
feat(build): Development tasks
2017-01-27 04:15:14 +01:00
Michael Carlberg
042d385015
fix(i3): Add state descriptions
2017-01-27 03:23:42 +01:00
Michael Carlberg
fb709aeab3
fix(i3): Workspace state when visible on unfocused monitor
2017-01-27 03:03:57 +01:00
Michael Carlberg
2912f0f3f2
fix(cmake): Require xcb-randr>=1.12 for monitors
...
Refs #344
2017-01-27 00:35:00 +01:00
Michael Carlberg
d5d941e663
build: Bump version to 3.0.2
2017-01-26 21:57:01 +01:00
Michael Carlberg
07cb5f134e
fix(renderer): Cleanup
2017-01-26 21:55:42 +01:00
Michael Carlberg
73aa721f90
fix(config): Error message
2017-01-26 21:34:38 +01:00
Michael Carlberg
087ea4e087
fix(cmake): Add missing xcb prototype
2017-01-26 21:15:21 +01:00
Michael Carlberg
00d6fc9646
fix(cmake): Invalid path
2017-01-26 20:36:00 +01:00
Michael Carlberg
76c657db70
fix(cmake): Specify configure_file dest
2017-01-26 20:33:13 +01:00
Michael Carlberg
874e6b0d6c
feat(config): Add directive for file inclusion
2017-01-26 20:10:33 +01:00
Michael Carlberg
febe6997b6
feat(config): Add fallback support to local value references
2017-01-26 19:33:14 +01:00
Michael Carlberg
ca64affa1a
fix(cli): Trim -vv output
2017-01-26 17:41:16 +01:00
Michael Carlberg
43a17c3b36
refactor(cmake): Cleanup
2017-01-26 17:39:50 +01:00
Michael Carlberg
b97e4c56c5
fix(cmake): Properly check xcb-xrm
...
The default value of WITH_XRM was never calculated because
the "IF NOT DEFINED" check was done after the call to option()
Refs #381
2017-01-26 12:59:13 +01:00
Michael Carlberg
162e77793a
fix(tray): Ignore if detached
...
Refs #383
2017-01-26 12:46:10 +01:00
Michael Carlberg
897b6e0221
build: Bump version to 3.0.1
2017-01-26 02:40:35 +01:00
Michael Carlberg
0c274709c0
fix(aur): Add git to makedepends
2017-01-26 02:37:58 +01:00
Michael Carlberg
5535a75bef
docs: Update example config
2017-01-26 02:34:37 +01:00
Michael Carlberg
5283fbff01
fix(renderer): Fill background to the sub blocks
...
Paint the background on each sub block instead of the base surface.
Fixes the compositing ops.
2017-01-26 01:53:25 +01:00
Michael Carlberg
b16c105514
feat(modules): Move default format values to the config
...
Fallback values for all module formats can now be set
in the configuration. For example:
[settings]
format-padding = 2
format-underline = #00f
2017-01-26 01:50:02 +01:00
Michael Carlberg
8138a12381
refactor(renderer): Cleanup
2017-01-25 23:38:51 +01:00