Michael Carlberg
d3b0670f30
fix(config): Perform tilde expansion on include-file
#603
2017-06-02 18:34:49 +02: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
beedc5ab84
fix(color_util): Parsing
2017-01-27 13:46:27 +01:00
Michael Carlberg
874e6b0d6c
feat(config): Add directive for file inclusion
2017-01-26 20:10:33 +01:00
Michael Carlberg
95d5b03fa2
refactor(file_util): Expand tilde manually
2017-01-25 17:07:55 +01:00
Michael Carlberg
c74a1647ab
fix(color_util): Add missing header
2017-01-24 12:37:19 +01:00
Michael Carlberg
a5d6670121
refactor(clang-tidy): Apply fixes
2017-01-24 08:01:04 +01:00
Michael Carlberg
6cc7a2c093
fix(color_util): Use lambda
2017-01-24 07:11:14 +01:00
Michael Carlberg
452afcdc68
refactor: Integral types
2017-01-24 07:11:14 +01:00
Michael Carlberg
5e1886a312
wip(refactor): Cairo drawing
2017-01-24 07:11:14 +01:00
Chase Geigle
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
Michael Carlberg
6250a2b746
fix(streambuf): Buffer size
2017-01-14 09:57:09 +01:00
Michael Carlberg
dceb3606b1
refactor(stringstream): Shorten to sstream
2017-01-14 06:11:51 +01:00
Michael Carlberg
e1dbd98c40
feat(string_util): Custom stringstream
2017-01-13 13:01:22 +01:00
Michael Carlberg
6dd72aa6f7
refactor(fs): Read /proc/self/mountinfo
...
Refs #271
2017-01-12 23:33:32 +01:00
Michael Carlberg
c737493620
fix(mtab): Add missing header
2017-01-12 21:11:21 +01:00
Michael Carlberg
c2ac7fde67
refactor: Filesize strings
2017-01-12 20:28:44 +01:00
Michael Carlberg
5773b08cf8
fix(script): Poll file descriptors
2017-01-11 18:21:58 +01:00
Michael Carlberg
5b33ada576
refactor(common): Cleanup
2017-01-11 07:17:54 +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
79856d7ed2
feat(ipc): Add polybar-msg to facilitate ipc messaging
2017-01-10 02:09:33 +01:00
Michael Carlberg
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
Michael Carlberg
d9c035381e
refactor(i3): Restack above global root window
...
Refs #293
2017-01-01 19:34:48 +01:00
Michael Carlberg
796cdb52cc
refactor: Rename restack function
2017-01-01 15:45:18 +01:00
Michael Carlberg
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
Michael Carlberg
dd960cc5b5
refactor(fd_streambuf): Cleanup
2016-12-31 15:42:46 +01:00
Michael Carlberg
acb9ed910d
fix(script): Unlock mutex before terminating command
...
Refs #281
2016-12-31 14:08:45 +01:00
Michael Carlberg
210695d377
refactor(x11): Merge xlib/xutils with connection
2016-12-31 10:02:32 +01:00
Michael Carlberg
e3a51b235a
refactor(clang-tidy): Apply fixes
2016-12-31 04:32:11 +01:00
Michael Carlberg
ad0af86a7b
refactor(battery): Abstract value readers
...
Refs #263 , #245
2016-12-31 04:20:48 +01:00
Michael Carlberg
18cf9df86c
refactor: Cleanup
2016-12-27 04:58:41 +01:00
Michael Carlberg
b7f16672ff
feat: Add object cache container
2016-12-26 10:38:19 +01:00
Michael Carlberg
b9f9092bbe
refactor: Cleanup
2016-12-26 10:37:14 +01:00
Michael Carlberg
334c454eec
concurrency_util: Mutex wrapper
2016-12-26 10:33:23 +01:00
Michael Carlberg
f80d8ebf5b
file_util: File descriptor streams
2016-12-26 10:29:32 +01:00
Michael Carlberg
3681247dc1
refactor(file_util): Move block mode helpers
2016-12-25 19:58:52 +01:00
Michael Carlberg
debb3534c7
concurrency_ytil: Thread id
2016-12-23 05:18:58 +01:00
Michael Carlberg
fa0d77f267
refactor(file_descriptor): Use unique_ptr
2016-12-23 01:07:00 +01:00
Michael Carlberg
bc9b9f0d12
refactor: Cleanup
2016-12-21 23:22:02 +01:00
Michael Carlberg
185363056a
refactor(x11): Cleanup
2016-12-21 15:04:16 +01:00
Michael Carlberg
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
Michael Carlberg
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
Michael Carlberg
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
Michael Carlberg
a0d485f79d
refactor: Initialize data
2016-12-15 09:30:31 +01:00
Michael Carlberg
f9062d031c
refactor(clang-tidy): Apply fixes
2016-12-15 03:30:41 +01:00
Michael Carlberg
105e4437ff
fix(memory_util): Initialize malloc ptr
2016-12-14 15:06:46 +01:00
Michael Carlberg
b156d1bbf4
refactor(bspwm): Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
7822f912aa
feat(socket): Utility function peek()
2016-12-14 11:01:44 +01:00
Michael Carlberg
5077325044
refactor(string_util): Use rvalue references for *trim()
2016-12-14 11:01:44 +01:00