Commit Graph

125 Commits

Author SHA1 Message Date
455e8c5596 fix(plugin): Use extern vector for list of plugin names. 2018-09-20 15:50:52 -05:00
0ba1732d59 fix(restack): Avoid double-free on exit with restackers.
Switch to maintaining a singleton in each restacker's shared library to
avoid creating memory in one DSO and freeing it in another.
2018-09-20 15:50:52 -05:00
e374dd467e fix(restack): Add missing virtual dstructor to wm_restacker. 2018-09-20 15:50:52 -05:00
42fda5b105 feat(plugin): Add initial draft plugin architecture.
Modules and other features that require optional libraries are now
dynamically loaded on the construction of the controller via dlopen().
This allows polybar to be built with support for all of the features on
one machine, but gracefully fall back and disable those features on
machines where the required optional shared libraries are not found.
2018-09-20 15:50:51 -05:00
d3b0670f30 fix(config): Perform tilde expansion on include-file #603 2017-06-02 18:34:49 +02:00
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
beedc5ab84 fix(color_util): Parsing 2017-01-27 13:46:27 +01:00
874e6b0d6c feat(config): Add directive for file inclusion 2017-01-26 20:10:33 +01:00
95d5b03fa2 refactor(file_util): Expand tilde manually 2017-01-25 17:07:55 +01:00
c74a1647ab fix(color_util): Add missing header 2017-01-24 12:37:19 +01:00
a5d6670121 refactor(clang-tidy): Apply fixes 2017-01-24 08:01:04 +01:00
6cc7a2c093 fix(color_util): Use lambda 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
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
e1dbd98c40 feat(string_util): Custom stringstream 2017-01-13 13:01:22 +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
c2ac7fde67 refactor: Filesize strings 2017-01-12 20:28:44 +01:00
5773b08cf8 fix(script): Poll file descriptors 2017-01-11 18:21:58 +01:00
5b33ada576 refactor(common): Cleanup 2017-01-11 07:17:54 +01:00
5c9bfc147c fix(xbacklight): Lower inc/dec value to 5 and fix flooring 2017-01-11 04:40:10 +01:00
8cc885c316 refactor: Cleanup 2017-01-11 03:07:28 +01:00
79856d7ed2 feat(ipc): Add polybar-msg to facilitate ipc messaging 2017-01-10 02:09:33 +01:00
704efe05d2 fix(file_util): Explicit initialization of stream base
Clang 3.8 emits a compiler warning due to the deleted
default constructors of the base class.
2017-01-09 20:48:53 +01:00
d9c035381e refactor(i3): Restack above global root window
Refs #293
2017-01-01 19:34:48 +01:00
796cdb52cc refactor: Rename restack function 2017-01-01 15:45:18 +01:00
ccddf052ec refactor(script): Split non-/tail logic
Split the script module into one tailing output module and
one exec once module.

Refs #281
2017-01-01 09:05:18 +01:00
dd960cc5b5 refactor(fd_streambuf): Cleanup 2016-12-31 15:42:46 +01:00
acb9ed910d fix(script): Unlock mutex before terminating command
Refs #281
2016-12-31 14:08:45 +01:00
210695d377 refactor(x11): Merge xlib/xutils with connection 2016-12-31 10:02:32 +01:00
e3a51b235a refactor(clang-tidy): Apply fixes 2016-12-31 04:32:11 +01:00
ad0af86a7b refactor(battery): Abstract value readers
Refs #263, #245
2016-12-31 04:20:48 +01:00
18cf9df86c refactor: Cleanup 2016-12-27 04:58:41 +01:00
b7f16672ff feat: Add object cache container 2016-12-26 10:38:19 +01:00
b9f9092bbe refactor: Cleanup 2016-12-26 10:37:14 +01:00
334c454eec concurrency_util: Mutex wrapper 2016-12-26 10:33:23 +01:00
f80d8ebf5b file_util: File descriptor streams 2016-12-26 10:29:32 +01:00
3681247dc1 refactor(file_util): Move block mode helpers 2016-12-25 19:58:52 +01:00
debb3534c7 concurrency_ytil: Thread id 2016-12-23 05:18:58 +01:00
fa0d77f267 refactor(file_descriptor): Use unique_ptr 2016-12-23 01:07:00 +01:00
bc9b9f0d12 refactor: Cleanup 2016-12-21 23:22:02 +01:00
185363056a refactor(x11): Cleanup 2016-12-21 15:04:16 +01:00
c01f111e34 refactor(modules): Move setup to constructor 2016-12-21 08:00:09 +01:00
a89c4ef2dd refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00
b417c9f812 feat(github): New module
Module used to query the GitHub API for information.
Currently only supports notification count.

Ref #84
2016-12-19 22:12:31 +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