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
452afcdc68
refactor: Integral types
2017-01-24 07:11:14 +01:00
2dfdbd240e
feat(bspwm,i3): Fuzzy-matching names for icons
...
Added support for fuzzy matching workspace names when assigning icons.
This feature is enabled/disabled through a new option, 'fuzzy-match'.
It is disabled by default.
2017-01-23 17:01:30 +01:00
9e3a7cf06c
fix(label): Add missing character
2017-01-17 15:38:28 +01:00
e0e9cae2eb
fix(label): Improve false positive token filtering
2017-01-17 15:28:52 +01:00
3292cea786
refactor(tokens): Move token suffix to configuration
2017-01-14 18:00:35 +01:00
2fea813c3d
fix(github): Clear label on empty notifications
...
Fixes #278
2017-01-13 14:57:31 +01:00
3722ac1617
fix(label): Drop token close character from suffix substring
...
Refs #305
2017-01-09 15:23:51 +01:00
e3a51b235a
refactor(clang-tidy): Apply fixes
2016-12-31 04:32:11 +01:00
78bb3695e6
refactor(config): Deduce return type from default value
2016-12-30 23:32:05 +01:00
11aabac227
refactor(connection: Use custom base
2016-12-26 09:46:48 +01:00
6ef1721b61
fix(label): Bool operator should check tokenized field
2016-12-20 05:52:59 +01:00
a0d485f79d
refactor: Initialize data
2016-12-15 09:30:31 +01:00
f9062d031c
refactor(clang-tidy): Apply fixes
2016-12-15 03:30:41 +01:00
5077325044
refactor(string_util): Use rvalue references for *trim()
2016-12-14 11:01:44 +01:00
1a2a6e5fab
refactor: Construction methods
2016-12-14 11:01:44 +01:00
08be86fbe1
wip(refactor): Improve signal and event handling
2016-12-14 11:01:44 +01:00
d45fd76dcd
refactor(config): Drop boost::property_tree
2016-12-14 10:57:45 +01:00
1a48f825d1
fix(progressbar): Pass label to builder
...
Ref #224
2016-12-05 05:04:43 +01:00
d93bd635b4
fix(label): Remove surrounding quotes
...
Fixes #221
2016-12-04 17:28:58 +01:00
d888f1b331
feat: Add left and right padding and margins ( #219 )
...
* feat: Add left and right padding and margins
* fix: use side_values and change precedence
* fix: cast to uint16_t
2016-12-04 11:57:33 +01:00
0cfddf7d72
feat(token): Add optional suffix to label tokens
2016-12-04 04:03:17 +01:00
d34263d850
fix(progressbar): Generate less data
...
Build the format sub-strings (%fill%, %indicator%, %empty%)
before adding it to the builder to avoid having it generate
alot of duplicate content (tags, etc)
2016-11-30 22:17:55 +01:00
6db66896bd
refactor(bspwm): Cleanup states
2016-11-30 21:12:47 +01:00
466e9e212f
feat(bspwm): Separate focused/unfocused states
...
Closes #201
2016-11-30 21:04:22 +01:00
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
84d58e7619
refactor: Cleanup handling of syntax tags
2016-11-25 04:34:24 +01:00
b14e55f729
fix(label): Do not erase false positives
2016-11-22 23:10:36 +01:00
7c60998459
fix(label): Patch token extraction
...
Ref #182
2016-11-22 21:14:35 +01:00
4ef0c55dda
fix(label): Support variable token order
...
Bound specifiers required the tokens to be
replaced in the same order they were defined.
This fixes that by storing and comparing
the token string.
2016-11-22 03:42:42 +01:00
25e33b6aab
refactor: Separate render component
2016-11-21 16:16:02 +01:00
c658d22925
fix(token): more patches
2016-11-20 22:44:35 -08:00
d66c16674c
feat(tokens): added patch by @jaagr
2016-11-20 21:33:50 -08:00
4179f8b7f9
feat: added max and min values to tokens
2016-11-20 16:37:48 -08:00
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
30c1cb3d50
fix(animation): Use defined base values
2016-11-19 12:23:31 +01:00
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
51d8f289fa
feat(xwindow): New module "xwindow"
...
Add module to display title of active window.
Requires WM with support for the _NET_ACTIVE_WINDOW hint.
Ref #84
2016-11-19 04:05:13 +01:00
a8e902c579
fix(progressbar): Safety check
...
Fixes #152
2016-11-08 13:55:21 +01:00
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
d359ab6057
refactor: Application rewrite
2016-10-10 14:52:57 +02:00
e1f8c001dd
refactor: Pass by value
2016-06-21 04:23:23 +02:00
2c74cb06de
task(dsl): Replace colons with dashes
...
Colons break ini syntax highlighters and linters.
2016-06-11 07:49:14 +02:00
39d3f61497
refactor(core): Clean-up
...
- use "#pragma once" instead of the regular include guard
- fix errors and warnings reported by cppcheck
2016-06-02 01:32:06 +02:00
eeefb3c610
init(git): Base commit
2016-05-19 20:23:45 +02:00