Commit Graph

536 Commits

Author SHA1 Message Date
4d6dfd3e2c build: Bump version to 3.0.0 2017-01-25 15:26:44 +01:00
f37ecfe959 fix(renderer): Falloff gradient 2017-01-25 15:00:34 +01:00
14fb86ec70 refactor(cairo): Less greedy glyph matching
Only match glyphs for consecutive characters when
the default/preferred font is being tested.

Refs #374
2017-01-25 12:03:06 +01:00
c7f33e2567 refactor(renderer): Use redirection groups instead of pixmaps 2017-01-25 09:54:18 +01:00
d2eeac9b22 fix(cairo): Use font metrics as vertical baseline
Refs #372
2017-01-25 04:40:59 +01:00
1a25be374f refactor(xworkspaces): Cleanup 2017-01-25 04:35:56 +01:00
e7dc6b8bbb fix(renderer): Use proper font scaling based on DPI
This tries to mimic the old renderer's behavior as closely as possible.
In the absence of any information, DPI is assumed to be 96x96. DPI can
be configured on a per-bar basis using the configuration key "dpi".

To use the DPI configuration from Xresources (if built with support),
one can specify the following in the bar config:

dpi = ${xrdb:Xft.dpi:96}
2017-01-25 04:35:35 +01:00
c74a1647ab fix(color_util): Add missing header 2017-01-24 12:37:19 +01:00
31cde9014a fix(x11): Add missing header 2017-01-24 12:09:09 +01:00
e7b4b4992c build: Bump version to 3.0.0-alpha 2017-01-24 12:06:58 +01:00
1a5246e940 refactor(cairo): Use shared_ptr for font list 2017-01-24 11:50:26 +01:00
3e37b9ec8e fix(cairo): Increment textblock bg extents 2017-01-24 11:07:18 +01:00
6692b4a8da refactor(x11): Cleanup 2017-01-24 10:49:14 +01:00
a5d6670121 refactor(clang-tidy): Apply fixes 2017-01-24 08:01:04 +01:00
8b9461e63e wip(refactor): Cairo drawing 2017-01-24 07:41:46 +01:00
6cc7a2c093 fix(color_util): Use lambda 2017-01-24 07:11:14 +01:00
a59e115622 wip(refactor): Cairo drawing 2017-01-24 07:11:14 +01:00
452afcdc68 refactor: Integral types 2017-01-24 07:11:14 +01:00
5e1886a312 wip(refactor): Cairo drawing 2017-01-24 07:11:14 +01:00
47a2cce03d fix: Ensure reloading when IN_IGNORED fired on config (#371)
This fixes a "bug" where polybar wouldn't reload on a configuration
file change on some configurations of vim, which don't actually issue
any IN_MODIFY events because they choose to move the file, replace it
with a new one, and then delete the file instead.

To work around this, we now also listen for IN_IGNORED which fires when
the file we are watching is destroyed. When this happens, we re-attach
the configuration file watcher to the new file and reload.
2017-01-24 07:10:55 +01:00
b6661825ce fix(xrm): res_class==nullptr to properly get the resource (#368)
Not sure what "String" was supposed to do, my tests with xcb-xrm gives that
res_class==nullptr properly gets the resource value, =="String" does not.
2017-01-23 17:54:20 +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
892673c405 fix(config): Require value reference without fallback 2017-01-20 02:31:55 +01:00
e1483c3f65 refactor(xresources): Use xcb-util-xrm
Drop the Xlib version and handle X resource
lookups using xcb-util-xrm

Refs #356
2017-01-20 02:26:01 +01:00
100c64a20c refactor: Make xresource_manager a singleton
Refs #356
2017-01-19 21:27:01 +01:00
90d1fff4e2 fix(xresources): Avoid continuous reconstruction
Refs #356
2017-01-19 20:37:02 +01:00
40d482d039 fix: By-pass double click timers if no handlers are defined
Fixes #338
2017-01-15 02:00:35 +01:00
a964e3bc7d build: Bump version to 2.5.2 2017-01-14 18:17:39 +01:00
3292cea786 refactor(tokens): Move token suffix to configuration 2017-01-14 18:00:35 +01:00
22e255747a Update the mixer class to support setting the name of the soundcard we want to get the mixer of 2017-01-14 17:59:47 +01:00
6250a2b746 fix(streambuf): Buffer size 2017-01-14 09:57:09 +01:00
dceb3606b1 refactor(stringstream): Shorten to sstream 2017-01-14 06:11:51 +01:00
dacf36b981 refactor(ipc): Cleanup 2017-01-14 00:27:29 +01:00
2fea813c3d fix(github): Clear label on empty notifications
Fixes #278
2017-01-13 14:57:31 +01:00
15f880eba4 fix(mpd): Handle broken connections 2017-01-13 13:02:51 +01:00
22140f7db9 refactor(builder): Action wrapped labels 2017-01-13 13:01:46 +01:00
e1dbd98c40 feat(string_util): Custom stringstream 2017-01-13 13:01:22 +01:00
6fb48c8e6f feat(build): Add flag for drawing visible whitespace 2017-01-13 11:04:43 +01:00
f56bb419d2 fix: Format whitespace handling
Refs #325
2017-01-13 10:54:41 +01:00
b48a275235 feat(command_line): Properly handle positional args 2017-01-13 04:47:25 +01:00
385572ec64 feat(xrandr): Support for monitors
Refs #280
2017-01-13 03:52:57 +01:00
462e53d6c8 build: Bump version to 2.5.1 2017-01-13 01:15:52 +01:00
40493497de fix: Allow size_t narrowing 2017-01-13 01:14:50 +01:00
07c0fbdcb3 fix(timer_module): Sleep at beginning since already warmed up 2017-01-12 23:33:36 +01:00
6dd72aa6f7 refactor(fs): Read /proc/self/mountinfo
Refs #271
2017-01-12 23:33:32 +01:00
c737493620 fix(mtab): Add missing header 2017-01-12 21:11:21 +01:00
92cc4d6f40 fix(modules): Warmup module on start 2017-01-12 20:29:08 +01:00
c2ac7fde67 refactor: Filesize strings 2017-01-12 20:28:44 +01:00
16a355a2b7 fix(config): Remove default value for module-margin-right 2017-01-12 17:42:09 +01:00
c26d6d3696 build: Bump version to 2.5.0 2017-01-12 16:37:33 +01:00