Michael Carlberg
c26d6d3696
build: Bump version to 2.5.0
2017-01-12 16:37:33 +01:00
Michael Carlberg
f72ddf9294
refactor(signals): Use full namespace
2017-01-12 16:34:14 +01:00
Michael Carlberg
f33d383726
refactor: Wait with tray initialization until ready
2017-01-12 16:12:54 +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
568837d06a
fix(x11): Preload the _NET_WM_WINDOW_OPACITY atom
2017-01-11 05:00:23 +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
e2480da8c6
fix(git): Remove generated file from index
2017-01-11 04:14:20 +01:00
Michael Carlberg
8cc885c316
refactor: Cleanup
2017-01-11 03:07:28 +01:00
Michael Carlberg
30f516dd7d
fix(formatting): Make formats parse specs as-is
...
This removes the spacing tinkering when parsing format specs.
The following example uses the old behavoir:
format-test = <label-foo> <label-bar>
format-breaks = <label-foo><label-bar>/<bar-test>
`format-test` would replace all occurences of ' ' with the
a space string with defined `spacing` as its width. `format-breaks` would
not validate as the tags where split with ' ' as delimiter.
All that nonsense has been removed and each tag is extracted as is.
The `spacing` parameter can still be used to apply N extra whitespaces
between the tags, but it is now 0 by default.
2017-01-11 02:43:37 +01:00
Michael Carlberg
f4e8051e9e
refactor(script): Merge back script handling
2017-01-10 05:12:53 +01:00
Michael Carlberg
946843ff59
feat(script): Configurable condition using exec-if
...
Add new config parameter `exec-if = cmd` that needs to
exit successfully before the main exec command will be invoked.
Closes #298
2017-01-10 03:02:00 +01:00
Michael Carlberg
79856d7ed2
feat(ipc): Add polybar-msg to facilitate ipc messaging
2017-01-10 02:09:33 +01:00
Michael Carlberg
7a26254844
feat(ipc): Initial exec of configured hook
...
Adds a new config parameter `initial = N` that will
make the hook at defined index N execute on start.
2017-01-09 23:06:41 +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
66131c807f
build: Bump version to 2.4.8
2017-01-09 19:01:14 +01:00
Michael Carlberg
f4406783e2
fix(signals): Use pointer to value
...
Only pass pointers to emitted signal value since the signal receivers
will be called on the same thread as the signal emitter.
Refs #302
2017-01-09 18:52:04 +01:00
Michael Carlberg
5f6a1f5ae6
fix(xkeyboard): Use separate throttle timers
2017-01-09 16:40:26 +01:00
Michael Carlberg
6925415501
fix(tray): Force bar update on change
...
Refs #295
2017-01-09 14:27:56 +01:00
Michael Carlberg
5458c433b6
build: Bump version to 2.4.7
2017-01-08 21:30:22 +01:00
Michael Carlberg
e80f5f372f
build: Bump version to 2.4.6
2017-01-01 21:42:14 +01:00
Michael Carlberg
e0688307f3
wip(systray): Add module base
2017-01-01 21:28:28 +01:00
Michael Carlberg
6341c7ab25
refactor(config): Defer xrm initialization
2017-01-01 21:12:38 +01:00
Michael Carlberg
a2bcb1a627
refactor(signals): Avoid reinterpret_cast
2017-01-01 20:31:09 +01:00
Michael Carlberg
d9c035381e
refactor(i3): Restack above global root window
...
Refs #293
2017-01-01 19:34:48 +01:00
Michael Carlberg
0c39061c98
feat(bspwm): Add option to inline mode indicators
2017-01-01 16:39:25 +01:00
Michael Carlberg
796cdb52cc
refactor: Rename restack function
2017-01-01 15:45:18 +01:00
Michael Carlberg
9c191cb025
fix(net): Always close socket handle
...
Refs #283
2017-01-01 15:10:58 +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
da08a0fbe0
build: Bump version to 2.4.5
2016-12-31 15:43:01 +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
14958bdd23
fix: Correct type for module interval
2016-12-31 03:04:01 +01:00
Michael Carlberg
a59d892d0b
fix(connection): Address sanitizer patch
2016-12-31 01:28:48 +01:00
Michael Carlberg
78bb3695e6
refactor(config): Deduce return type from default value
2016-12-30 23:32:05 +01:00
Michael Carlberg
53f781f527
feat(fs): Add option to remove invalid/unmounted endpoints
2016-12-30 22:44:28 +01:00
Michael Carlberg
c36e2481bd
build: Bump version to 2.4.4
2016-12-30 22:09:49 +01:00
Michael Carlberg
8d1ff28589
fix(connection): Include cstdlib for std::free
2016-12-30 21:14:22 +01:00
Berk Ozbalci
2fdbb6af41
feat(bspwm): Add support for pseudo tiled nodes
2016-12-30 20:49:38 +01:00
Michael Carlberg
18cf9df86c
refactor: Cleanup
2016-12-27 04:58:41 +01:00
Michael Carlberg
f101a303bd
fix(bar): Only initialize config values when using --print-wmname
2016-12-27 04:15:01 +01:00
Michael Carlberg
db7aa7c490
fix(format): Ignore empty contents
2016-12-27 04:03:46 +01:00
Michael Carlberg
7b780a3201
refactor(builder): Cleanup
2016-12-26 17:06:28 +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
baaba4adf9
refactor(ipc): Rename signals
2016-12-26 10:36: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
00ac4bea63
refactor(x11): Header cleanup
2016-12-26 10:27:30 +01:00
Michael Carlberg
11aabac227
refactor(connection: Use custom base
2016-12-26 09:46:48 +01:00
Michael Carlberg
3681247dc1
refactor(file_util): Move block mode helpers
2016-12-25 19:58:52 +01:00
Michael Carlberg
bb0d6f580d
fix(xkeyboard): Wrap click handler around contents
2016-12-23 22:39:59 +01:00
Michael Carlberg
068d586757
build: Bump version to 2.4.3
2016-12-23 22:23:33 +01:00
Michael Carlberg
789800a68f
refactor(signals): Simple types
2016-12-23 22:19:42 +01:00
Michael Carlberg
b422d1d1a4
refactor(modules): Input handling
2016-12-23 20:43:52 +01:00
Michael Carlberg
97fa7052fe
refactor(clang-tidy): Apply fixes
2016-12-23 15:54:06 +01:00
Michael Carlberg
077ec2b879
build: Bump version to 2.4.2
2016-12-23 13:03:42 +01:00
Michael Carlberg
7ecd132610
fix(net): Convert dBm to percentage
...
Fixes #249
2016-12-23 08:13:40 +01:00
Michael Carlberg
e974ac1750
build: Bump version to 2.4.1
2016-12-23 05:26:05 +01:00
Michael Carlberg
ba757809d0
refactor(modules): Defer cache rebuild
2016-12-23 05:19:45 +01:00
Michael Carlberg
debb3534c7
concurrency_ytil: Thread id
2016-12-23 05:18:58 +01:00
Michael Carlberg
8cc275ccd1
refactor(controller): Process eventqueue concurrently
2016-12-23 05:10:40 +01:00
Michael Carlberg
8cff01e3d8
refactor(event_handler): Abstract sink attaching
2016-12-23 05:08:19 +01:00
Michael Carlberg
fa0d77f267
refactor(file_descriptor): Use unique_ptr
2016-12-23 01:07:00 +01:00
Michael Carlberg
9479b5abe2
refactor(xwindow): Cleanup
2016-12-23 01:03:38 +01:00
Michael Carlberg
417d90f411
refactor(controller): Store module input handlers locally
...
Refs #265 , #262
2016-12-23 00:54:14 +01:00
Michael Carlberg
e47e439954
refactor(modules): Replace callbacks with signals
...
Refs #265
2016-12-22 22:11:30 +01:00
Michael Carlberg
57656e81e4
build: Bump version to 2.4.0
2016-12-22 00:20:40 +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
788a7ca3a3
refactor(modules): Get rid of .inl files
2016-12-21 09:21:35 +01:00
Michael Carlberg
7979f5b3d4
refactor(modules): Handle events using signal_receiver
2016-12-21 08:38:44 +01:00
Michael Carlberg
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
Michael Carlberg
81e6fb062f
wip: Window autohide
2016-12-21 04:50:43 +01:00
Michael Carlberg
3aa7c3b106
fix(taskqueue): Type error
2016-12-20 18:14:43 +01:00
Michael Carlberg
c14c46b998
refactor: Font index cleanup
2016-12-20 15:09:11 +01:00
Michael Carlberg
8ef8900ca2
refactor: Defer buttonpress using taskqueue
2016-12-20 13:03:46 +01:00
Michael Carlberg
b8ff0da693
feat: Add taskqueue component
2016-12-20 12:54:17 +01:00
Michael Carlberg
ccbb38798d
fix(bar): Action x values should not be volatile
2016-12-20 07:46:51 +01:00
Michael Carlberg
1cccd100bb
fix(bar): Remove double click
2016-12-20 07:46:30 +01:00
Michael Carlberg
f94eea1299
build: Include CMAKE_CXX_COMPILER in -vv
2016-12-20 06:08:24 +01:00
Michael Carlberg
de04fa3eac
feat(github): Option to hide notification count if empty
2016-12-20 05:53:45 +01:00
Michael Carlberg
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
Michael Carlberg
8ed4de1dda
fix: Use enum_hash for unordered_map
2016-12-20 02:29:18 +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
519172b6ec
feat(xkeyboard): Switch layout group on click
...
When serveral layout groups are defined for the keyboard
they can be cycled when clicking on the module.
For example:
$ setxkbmap -layout us,sv,fr
Ref #84
2016-12-16 11:31:08 +01:00
Michael Carlberg
f50f43af02
refactor: Cleanup
2016-12-16 10:23:54 +01:00
Michael Carlberg
09ea07b750
refactor(battery): Use charge_{now,full} to calculate percentage
2016-12-16 09:58:54 +01:00
Michael Carlberg
697638db2b
fix(tray): Follow window fade
2016-12-16 07:10:45 +01:00
Michael Carlberg
a7005be82c
feat: Fade if unfocused and handle double clicks
2016-12-16 06:44:55 +01:00
Michael Carlberg
d94d8ccfd3
feat(debug_util): Scoped execution timer
2016-12-16 04:01:23 +01:00
Michael Carlberg
faab627771
fix(tray): Ignore restack state
2016-12-15 21:00:17 +01:00
Michael Carlberg
140a3a6327
fix(config): Avoid double value lookup
2016-12-15 20:57:03 +01:00
Michael Carlberg
b90856157b
fix: Update font visual if depth changes
2016-12-15 18:22:34 +01:00
Michael Carlberg
b2e8428550
wip(refactor): Improve parsing and font glyph caching
2016-12-15 17:28:58 +01:00
Michael Carlberg
9f9f438fae
refactor: Remove last usage of boost::optional
...
Since it's the only thing boost was used for at the moment
we drop it to be able to get rid of a dependency.
2016-12-15 17:13:16 +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
0fca9a0c6e
git: Remove unused headers for boost::di
2016-12-14 20:18:55 +01:00
Michael Carlberg
52a6dfb42c
refactor(config): Use defined fallback for environment refs
2016-12-14 20:14:31 +01:00
Michael Carlberg
4c36d65cbe
fix(eventloop): Acquire lock guard
2016-12-14 19:04:33 +01:00
Michael Carlberg
4870204b4f
feat(bspwm,i3): Configurable scroll direction
2016-12-14 17:18:20 +01:00
Michael Carlberg
d3bc1f938f
refactor(x11): Use shared_ptr for X pointers
2016-12-14 15:09:51 +01:00
Michael Carlberg
105e4437ff
fix(memory_util): Initialize malloc ptr
2016-12-14 15:06:46 +01:00
Michael Carlberg
d8f69866cc
refactor(alsa): Memory allocation
2016-12-14 15:04:10 +01:00
Michael Carlberg
b11a662d81
fix(tray): Re-activation
2016-12-14 11:34:09 +01:00
Michael Carlberg
8c3f40db5b
refactor(eventloop): Use config wrapper
2016-12-14 11:01:44 +01:00
Michael Carlberg
b156d1bbf4
refactor(bspwm): Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
18597f8e1d
fix(tray): Uninitialized value
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
357e95335a
fix(valgrind): Suppress Xrm warnings
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
Michael Carlberg
eca870774f
fix: Handle single input events
2016-12-14 11:01:44 +01:00
Michael Carlberg
c2caf4d7a6
fix(parser): Apply clang-tidy fixes
2016-12-14 11:01:44 +01:00
Michael Carlberg
7d07812fa6
fix(font_manager): Memory leak
2016-12-14 11:01:44 +01:00
Michael Carlberg
80a00bd596
refactor(config): Cleanup and minor tweaks
2016-12-14 11:01:44 +01:00
Michael Carlberg
5e2a0bd298
refactor(alsa): Forward alsa structs and split classes
2016-12-14 11:01:44 +01:00
Michael Carlberg
a33c15b3ad
fix(xresources): Deallocate memory
2016-12-14 11:01:44 +01:00
Michael Carlberg
83f7d2ce91
refactor: Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
5d5542169b
refactor(command_line): Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
683ce7acc6
refactor(logger): Cleanup
2016-12-14 11:01:44 +01:00
Michael Carlberg
540bcb9fd0
refactor(config): Load on instantiation
2016-12-14 11:01:44 +01:00
Michael Carlberg
4fca0c89b4
refactor: Object construction
2016-12-14 11:01:44 +01:00
Michael Carlberg
1a2a6e5fab
refactor: Construction methods
2016-12-14 11:01:44 +01:00
Michael Carlberg
08be86fbe1
wip(refactor): Improve signal and event handling
2016-12-14 11:01:44 +01:00
Michael Carlberg
d45fd76dcd
refactor(config): Drop boost::property_tree
2016-12-14 10:57:45 +01:00
Michael Carlberg
3a6ca90fcb
refactor(i3): Remove wsname-maxlen
2016-12-14 04:45:34 +01:00
Michael Carlberg
0ed173b96e
refactor(i3): Output based wrapping
2016-12-14 04:45:31 +01:00
Michael Carlberg
80a5985344
build: Bump version to 2.3.13
2016-12-14 00:54:06 +01:00
Michael Carlberg
f4529dde99
feat(i3): Conditional wrap around on scroll
...
Ref #242
2016-12-14 00:46:54 +01:00
Michael Carlberg
809e5748b6
build: Bump version to 2.3.12
2016-12-14 00:11:17 +01:00
Michael Carlberg
b303492759
fix(alsa): Avoid dangling pointers
2016-12-13 14:31:17 +01:00
Michael Carlberg
891ff6d80a
fix(xkeyboard): Use current group number
...
Ref #230
2016-12-08 18:35:07 +01:00
Michael Carlberg
e90f82afe3
build: Bump version to 2.3.11
2016-12-05 14:06:33 +01:00
Michael Carlberg
ebe1998b19
fix(bspwm): Change event strings
2016-12-05 14:02:16 +01:00
Michael Carlberg
ec39859093
feat: Window click handlers
...
New parameters for defining fallback click handlers
that will be triggered for the whole window unless
a module action is matched.
Parameters added to all [bar/foo] sections:
- `click-left = ...`
- `click-middle= ...`
- `click-right= ...`
- `scroll-up= ...`
- `scroll-down= ...`
Ref #226
2016-12-05 13:17:15 +01:00
Michael Carlberg
3854515521
fix: Wrap format pre/suffix within cmd
2016-12-05 05:32:10 +01:00
Michael Carlberg
7d1092db04
refactor(date): Add label and date/time tokens
...
Ref #225
2016-12-05 04:52:00 +01:00
Michael Carlberg
7f5117b7cc
fix(tray): Improve pseudo-transparency handling
...
- Make sure previously drawn content is cleared
- Redraw tray clients on XCB_EXPOSE
- Prevent void parts of the root pixmap being copied
Ref #187
2016-12-05 03:56:04 +01:00
Soham Chowdhury
16b7d09d63
feat(mpd): Add support for date ( #222 )
2016-12-04 19:33:04 +01:00
Michael Carlberg
9eee27544d
fix(renderer): Improve precision when shifting action blocks
...
Fixes #220
2016-12-04 13:50:30 +01:00
NBonaparte
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
Michael Carlberg
540e9f2735
build: Bump version to 2.3.10
2016-12-04 04:13:02 +01:00
Michael Carlberg
44da14755d
refactor(clang-tidy): Apply fixes
2016-12-04 04:11:47 +01:00
Michael Carlberg
0cfddf7d72
feat(token): Add optional suffix to label tokens
2016-12-04 04:03:17 +01:00
NBonaparte
ffbedf4217
feat: Add support for prefix and suffix to formats
2016-12-04 02:33:38 +01:00
Michael Carlberg
9f16e3fff7
refactor: Rename dock
to override-redirect
2016-12-03 23:21:40 +01:00
Michael Carlberg
d6a0c84e0b
refactor(tray): Update using eventloop
2016-12-03 23:01:21 +01:00
Michael Carlberg
df85a6492e
refactor(eventloop): Typed events
2016-12-03 23:00:41 +01:00
Michael Carlberg
37b4f9454c
build: Bump version to 2.3.9
2016-12-03 21:24:18 +01:00
Michael Carlberg
604e926924
refactor(script): Format tag <label>
...
Mark <output> and maxlen as deprecated
2016-12-03 21:10:01 +01:00
Michael Carlberg
5f6d73a415
fix(command): Use execlp()
...
Ref #214
2016-12-03 20:52:43 +01:00
Michael Carlberg
bb0cfcf033
fix(tray): Visibility change
2016-12-03 20:26:29 +01:00
Michael Carlberg
a3f2e8aa51
fix: Reconfigure position after mapping
...
Ref #212
2016-12-03 18:38:35 +01:00
Michael Carlberg
87addebf6a
build: Bump version to 2.3.8
2016-12-03 17:01:05 +01:00
Michael Carlberg
6b51234f23
fix(screen): Only reload if changed
2016-12-03 16:44:37 +01:00
Michael Carlberg
ef9b37447b
fix(xcb): Deallocate using deleter
2016-12-03 16:44:08 +01:00
Michael Carlberg
086e498388
fix: Replace process on reload
2016-12-03 15:46:48 +01:00
Michael Carlberg
0f91d3d8df
fix(ewmh): Use deleter to deallocate atoms
2016-12-03 15:45:11 +01:00
Michael Carlberg
d4eaf21052
fix(xworkspaces): Correct desktop index for pinned workspaces
...
- Use the correct desktop index when only displaying
workspaces for the configured monitor/viewport.
- Wrapping scroll
2016-12-03 13:45:26 +01:00
Michael Carlberg
4776ec49df
fix: Use defined event sink priority
2016-12-03 13:00:40 +01:00
Michael Carlberg
b15042dccb
build: Bump version to 2.3.7
2016-12-01 13:26:56 +01:00
Michael Carlberg
570c30337b
fix(cmake): Add legacy pragma
...
Ref #208
2016-12-01 13:11:58 +01:00
Michael Carlberg
111bfc58e9
build: Bump version to 2.3.6
2016-12-01 10:12:10 +01:00
Michael Carlberg
c6540a8950
refactor: Signaling
2016-12-01 08:56:16 +01:00
Michael Carlberg
9f8dabfc8d
refactor(xwindow): Cleanup
2016-12-01 08:35:59 +01:00
Michael Carlberg
0c6937edae
feat(config): Inheritance
...
Add support for basic inheritance. The parser will
look for `inherit = base/section` and copy all undefined
values from the base section.
Ref #84
2016-12-01 07:57:30 +01:00
Michael Carlberg
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
Michael Carlberg
24a2febd59
fix(build): GCC name error
2016-11-30 21:17:30 +01:00
Michael Carlberg
6db66896bd
refactor(bspwm): Cleanup states
2016-11-30 21:12:47 +01:00
Franklin Delehelle
466e9e212f
feat(bspwm): Separate focused/unfocused states
...
Closes #201
2016-11-30 21:04:22 +01:00
Michael Carlberg
9cadb681d4
feat(i3): Add mode label
2016-11-30 18:23:11 +01:00
Michael Carlberg
eddda10c23
fix(alsa): Replace full alsalib.h
2016-11-30 14:27:37 +01:00
Michael Carlberg
f6ae5bd191
fix(build): Optional XKB
2016-11-30 14:26:11 +01:00
Michael Carlberg
d67515d575
fix(xwindow): Look for unicode wm_name
...
Ref #205
2016-11-30 13:38:41 +01:00
Michael Carlberg
6aba583c3e
refactor(build): Rename X extension flags
2016-11-30 12:48:13 +01:00
Michael Carlberg
2f3c2e952e
fix(xkeyboard): Minor tweaks
2016-11-30 11:29:41 +01:00
Michael Carlberg
608519363d
feat(xkeyboard): New module
...
New module that uses the X keyboard extension
to show keyboard layout and indicators.
Ref #84 , #200
2016-11-30 10:08:44 +01:00
Michael Carlberg
6f6c5b7459
fix(string_util): Join vector of strings
2016-11-27 01:32:21 +01:00
Michael Carlberg
4852f2817c
feat: Reload on XCB_RANDR_SCREEN_CHANGE_NOTIFY
2016-11-27 01:14:02 +01:00
Michael Carlberg
340add5c40
build: Bump version to 2.3.5
2016-11-26 17:27:59 +01:00
Michael Carlberg
4fb7c98455
build: Optional X extensions
2016-11-26 15:42:48 +01:00
Michael Carlberg
ad772edc39
fix(build): Update version on configure
2016-11-26 15:30:08 +01:00
Michael Carlberg
c5bc338ae3
feat(math_util): Templated min/max
2016-11-26 13:09:29 +01:00
Michael Carlberg
12ff82e913
feat(xworkspaces): Change current desktop
2016-11-26 10:33:32 +01:00
Michael Carlberg
3413c4a463
wip(xworkspaces): Monitor support
2016-11-26 09:38:55 +01:00
Michael Carlberg
b25fa46ac2
wip(xworkspaces): EWMH desktops
...
Ref #84
2016-11-26 06:30:33 +01:00
Michael Carlberg
9f4638f42c
refactor: Cleanup
2016-11-26 06:13:20 +01:00
Michael Carlberg
c2acdff7d4
feat(eventloop): Delayed enqueue
...
A new worker that will block the queue channel
until the delayed event has been processed.
This is used to limit the amount of X button events
within defined time frame and we can't block
the main X thread.
2016-11-25 21:58:51 +01:00
Michael Carlberg
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
Michael Carlberg
6f2b437be3
fix(renderer): Destroy window on deconstruct
2016-11-25 14:17:56 +01:00
Michael Carlberg
4268817c51
fix(config): Trigger reload on correct event
...
Fixes #85
2016-11-25 14:17:56 +01:00
Michael Carlberg
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
Michael Carlberg
1954f3f74c
build: Bump version to 2.3.4
2016-11-25 07:21:29 +01:00
Michael Carlberg
c24dbbd9ce
build: Bump version to 2.3.3
2016-11-25 04:46:10 +01:00
Michael Carlberg
9fdc22843b
refactor: Cleanup rendering
2016-11-25 04:42:27 +01:00
Michael Carlberg
7018357e47
fix(tray): Add compton atom to exclude shadow
2016-11-25 04:34:24 +01:00
Michael Carlberg
84d58e7619
refactor: Cleanup handling of syntax tags
2016-11-25 04:34:24 +01:00
NBonaparte
199a825494
feat(mpd): Add stop toggle ( #191 )
2016-11-25 04:33:58 +01:00
Michael Carlberg
ad510eb768
fix(builder): Default to non-lazy mode
...
Ref #181
2016-11-22 23:31:08 +01:00
Michael Carlberg
4794ef653c
refactor(renderer): Separate methods
2016-11-22 23:18:47 +01:00
Michael Carlberg
c6e861083b
fix: Avoid unnecessary color change
...
Ref #181
2016-11-22 22:45:12 +01:00
Michael Carlberg
5028779528
fix(network): Change default value of udspeed_minwidth
2016-11-22 20:53:14 +01:00
Michael Carlberg
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
Michael Carlberg
09e0ea1932
config: Print deprecation warnings
2016-11-22 03:01:50 +01:00
Michael Carlberg
ac654423aa
build: Bump version to 2.3.2
2016-11-22 01:25:49 +01:00
Michael Carlberg
0c64b64ff8
refactor: Cleanup
2016-11-22 01:22:47 +01:00
Michael Carlberg
83ef8bcd0c
fix(build): Size type
2016-11-21 16:32:56 +01:00
Michael Carlberg
ebf1bd1129
feat: Support different under-/overline
...
Make it possible to set different size
and color values for the two properties.
`overline-size = 2`
`overline-color = #f00`
`underline-size = 5`
`underline-size = #00f`
2016-11-21 16:16:06 +01:00
Michael Carlberg
25e33b6aab
refactor: Separate render component
2016-11-21 16:16:02 +01:00
Michael Carlberg
c1162960cc
fix(battery): Try several value files
...
Fixes #177
2016-11-21 08:30:25 +01:00
NBonaparte
4179f8b7f9
feat: added max and min values to tokens
2016-11-20 16:37:48 -08:00
Michael Carlberg
cf22468503
fix(build): Optional module fallback
...
Ref #176
2016-11-21 01:14:05 +01:00
Michael Carlberg
d616a7d351
fix(build): Move chrono namespace to correct level
...
Ref #176
2016-11-21 00:19:22 +01:00
Michael Carlberg
d6a5212ef3
fix(volume): Handle alsa playback range
...
Ref #174
2016-11-20 23:49:08 +01:00
Michael Carlberg
002eb08b20
fix(build): Explicit type for list initialization
2016-11-20 23:29:42 +01:00
Michael Carlberg
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
Michael Carlberg
376c483dd4
build: Bump version to 2.3.1
2016-11-20 03:00:36 +01:00
Michael Carlberg
40fcabd644
fix(config): Proper dereference of ${self.key}
2016-11-19 19:18:28 +01:00
Michael Carlberg
88c8bbd940
refactor: Fwd declare drawtypes
...
Ref #164
2016-11-19 15:49:06 +01:00
Michael Carlberg
38f9ba81cd
feat(battery): Estimated time remaining
...
Adds a new token %time% that will display an
estimate of the remaining time until fully
charged/discharged
2016-11-19 15:42:31 +01:00
Michael Carlberg
3251543d6e
build: Bump version to 2.3.0
2016-11-19 06:51:34 +01:00
Michael Carlberg
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
Michael Carlberg
6a6796160a
build: Bump version to 2.2.8
2016-11-19 04:35:03 +01:00
Michael Carlberg
1b159786f0
fix(xwindow): Ignore xcb timestamp
2016-11-19 04:34:46 +01:00
Michael Carlberg
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
Michael Carlberg
2fd88c4f60
feat(ipc): New message type "action:"
...
Adds a new message type, prefixed "action:"
that will perform the same task as mouse actions.
This could be used to control menu modules:
echo action:menu-open-1 > /tmp/lemonbuddy_mqueue.<pid>
echo action:menu-close > /tmp/lemonbuddy_mqueue.<pid>
Ref #84
2016-11-18 18:37:53 +01:00
Michael Carlberg
1b5979ba10
feat(config): Default reference values
...
- Add fallback values to env/xrdb references:
${env:UNEXISTING:fallback value}
${xrdb:UNEXISTING:fallback value}
- Replace ${BAR.key} with ${root.key} and display
deprecation warning if the former is used
2016-11-18 18:04:24 +01:00
Edgard Castro
1ea39e562a
feat(bspwm): Additional dimmed states configuration
2016-11-15 04:33:10 -02:00
Michael Carlberg
70a5f1d41e
fix: Bottom strut relative to screen
2016-11-15 02:28:42 +01:00
Michael Carlberg
ffe76b0556
fix(tray): Avoid tray redraw on bar update
2016-11-15 01:00:51 +01:00
Michael Carlberg
7551a7d126
build: Bump version to 2.2.7
2016-11-14 18:36:08 +01:00
Michael Carlberg
2301de667b
fix(temperature): Calculate percentage value
2016-11-14 17:56:29 +01:00
Michael Carlberg
e22ec91101
fix(network): Check for TUN/TAP devices
...
Ref #159
2016-11-14 17:55:35 +01:00
Michael Carlberg
983963d4e4
feat(network): Accumulate stats from all interfaces
...
Add config setting that will display accumulated
values for up-/downspeed (accumulate-stats = true)
Closes #144
2016-11-14 12:42:59 +01:00
Michael Carlberg
611dbcd6cd
build: Bump version to 2.2.6
2016-11-14 12:06:08 +01:00
Michael Carlberg
e3065d0e6c
feat(ipc): New ipc module
...
Add a new module that allow users to configure hooks
on received ipc messages. The hook will execute the defined
shell script and the output of the script will be used
as the module content.
Ref #84
2016-11-14 09:26:40 +01:00
Michael Carlberg
04fac96d78
fix(mpd): Hide module on empty playlist
...
Closes #149
2016-11-14 01:21:58 +01:00
Michael Carlberg
4b0e648cb8
refactor: Cleanup
2016-11-14 00:46:50 +01:00
Michael Carlberg
489f3ce480
wip: Inter-process messaging
2016-11-13 19:05:30 +01:00
Michael Carlberg
c480f6fd1e
refactor: Move strut handling to window class
2016-11-13 16:10:20 +01:00
Michael Carlberg
4224d838a8
refactor(bar): Strut values based on EMWH spec
2016-11-13 13:25:57 +01:00
Michael Carlberg
c8f2a934b1
refactor(fs): Update naming to reflect actual usage
...
The module currently only handle mounted filesystem
and not block devices or partitions. Change naming
to be more clear.
2016-11-13 08:50:14 +01:00
Michael Carlberg
9a0df75a91
feat(fs): New filesystem module
...
Module that displays details about
mounted filesystems, #84
Closes #153
2016-11-13 06:14:34 +01:00
Michael Carlberg
4d7f6c14e6
fix(xrandr): Less strict monitor matching
...
Be less strict when matching randr outputs
against specified name. This is a workaround
to fix the output naming issue when switching
between graphic drivers.
On my system the output names include a dash
when using the nvidia drivers but the intel
driver does not.
nvidia:
HDMI-1
eDP-1
xf86-video-intel:
HDMI1
eDP1
When strict mode is disabled the matching
won't care about the connection state.
The user can re-enable exact matching and
connection state testing by setting the
config parameter `monitor-strict = true`
2016-11-12 20:42:56 +01:00
Michael Carlberg
3edd33be99
fix(build): Include poll.h instead of sys/poll.h
...
- Include <poll.h> to get rid of musl warnings
2016-11-12 15:50:18 +01:00
Michael Carlberg
d02e2a47fb
build: Bump version to 2.2.5
2016-11-12 13:55:06 +01:00
Michael Carlberg
42bcfd9fa1
feat(bspwm): Configurable scroll/click actions
2016-11-12 13:37:07 +01:00
Michael Carlberg
23996fdcdc
refactor: Tray transparency and code cleaning
...
- Make pseudo-transparency work as intended, fixes #158
- Fill tray pixmap in case a root pixmap is not found
- Split up bar bootstrap routine
- Formatting (clang-format)
2016-11-12 13:09:50 +01:00
Michael Carlberg
f2bbd301f2
feat(xbacklight): Change value on scroll
...
- Add action handlers for scroll up/down (conf: enable-sroll = true)
- Use xcb_timestamps instead of the throttle util
2016-11-12 13:07:05 +01:00
Michael Carlberg
2740e69a38
refactor(i3): Cleanup and configurable actions
...
- Do not throw on handle_event failure
- Add settings to disable mouse scroll/click actions
- Add fold markers
- Misc cleanup
2016-11-12 13:07:05 +01:00
Michael Carlberg
1e08aa455b
feat(temperature): Support for <ramp>
2016-11-12 13:07:05 +01:00
NBonaparte
fbd957bf33
feat(bspwm): added scrolling
2016-11-11 10:55:37 -08:00
Michael Carlberg
dc2d33ceba
fix(bspwm): Remove monitor property
...
- Use the bar settings stored in the base class.
- Add fold markers
2016-11-11 11:05:22 +01:00
NBonaparte
a06b38f534
feat(temperature): Added temp module and examples
2016-11-10 22:54:07 -08:00
Michael Carlberg
ee68aea773
build: Bump version to 2.2.4
2016-11-08 13:56:40 +01:00
NBonaparte
dce81d4266
feat(volume): Added volume mapping
2016-11-05 14:32:09 -07:00
Michael Carlberg
b470337e0a
build: Bump version to 2.2.3
2016-11-04 21:08:34 +01:00
Michael Carlberg
70c3e55dba
build: Bump version to 2.2.2
2016-11-04 20:43:45 +01:00
Michael Carlberg
e1f637dd4f
build: Bump version to 2.2.1
2016-11-04 20:29:46 +01:00
Michael Carlberg
7d2e8adf59
build: Bump version to 2.2.0
2016-11-04 19:37:04 +01:00
Michael Carlberg
869c5fe718
refactor: Code cleanup
2016-11-04 19:21:56 +01:00
Michael Carlberg
ae501d6ae1
fix(tray): Support for pseudo transparency
...
Copy contents from the root pixmap onto the background
Fixes #125
2016-11-04 19:01:51 +01:00
Michael Carlberg
2a59236441
build: Bump version to 2.1.15
2016-11-03 19:02:12 +01:00
Michael Carlberg
d74dd7f3ef
fix(build): Remove disabled libs
2016-11-03 19:01:45 +01:00
Michael Carlberg
5f21d7d440
feat(bspwm): Support for multi monitors listing
...
- All available workspaces can now be listed, grouped
by monitor, by setting the module config `pin-workspaces`
to false
- Adds a new format tag <label-monitor>
- Treat <label-mode> as a normal format tag
2016-11-03 17:56:07 +01:00
Michael Carlberg
d71e5b909b
build: Bump version to 2.1.14
2016-11-03 15:29:17 +01:00
Michael Carlberg
a1472dfd0f
refactor(battery): Poll values by default
...
Fixes jaagr/lemonbuddy#140
2016-11-03 15:21:46 +01:00
Michael Carlberg
52c08675e6
fix(battery): Ignore the fake inotify event
...
Assume fake event if polling flag is set.
Fixes jaagr/lemonbuddy#140
2016-11-03 14:40:12 +01:00
Michael Carlberg
f3b3db9854
build: Bump version to 2.1.13
2016-11-03 13:00:03 +01:00
Michael Carlberg
af2289e397
fix(battery): Poll until real inotify event occurs
...
Fixes jaagr/lemonbuddy#140
2016-11-03 12:56:35 +01:00
Michael Carlberg
e7cb345cec
wip: Separate source from definitions
2016-11-03 12:54:32 +01:00
Michael Carlberg
566f33b8b2
build: Bump version to 2.1.12
2016-11-02 18:42:15 +01:00
Michael Carlberg
f83dbf19b1
fix(battery): Poll thread requires running module
...
Closes jaagr/lemonbuddy#140
2016-11-02 18:38:13 +01:00
Michael Carlberg
5d00f0bdce
build: Bump version to 2.1.11
2016-11-01 01:26:29 +01:00
Michael Carlberg
de3e0458a6
fix(tray): Catch restack failure
2016-10-31 05:37:51 +01:00
Michael Carlberg
738fc2a216
feat: Offset window position using %
2016-10-31 05:13:59 +01:00
Michael Carlberg
fe03570b5a
fix(tray): Target correct atom
2016-10-31 02:36:43 +01:00
Michael Carlberg
94298741b6
tray: Align center and extend configuration
...
- The tray can now be centered in the bar
- Set window atoms:
* _NET_SYSTEM_TRAY_COLORS
* _NET_SYSTEM_TRAY_VISUAL
- New parameters added:
* tray-background: Define background color
* tray-offset-x: X position offset
* tray-offset-y: Y position offset
* tray-padding: Add spacing on the side of each icon
* tray-maxsize: Size limit for tray icons, default: 16
* tray-scale: Icon zoom, default: 1.0
* tray-detached: The bar will ignore tray updates
2016-10-31 01:41:15 +01:00
Michael Carlberg
dd7967dede
fix(controller): Check for connection error in eventloop
2016-10-31 01:25:45 +01:00
Michael Carlberg
26c308cc19
feat(color_util): Utility functions for color handling
2016-10-31 01:25:19 +01:00
Michael Carlberg
55c9bf27ba
fix(controller): Uninstall sigmask on blocked term signal
2016-10-30 18:48:15 +01:00
Michael Carlberg
36d4ee0e67
refactor(battery): Cleanup
2016-10-30 18:47:01 +01:00
Michael Carlberg
2f7ec4ceee
fix: Alpha channel out of line
2016-10-30 08:04:59 +01:00
Michael Carlberg
c9af239516
fix: Widen color channels
2016-10-30 07:46:28 +01:00
Michael Carlberg
d8c309ec35
fix(date): Do not override get_output
2016-10-30 06:18:33 +01:00
Michael Carlberg
efba06dc2d
fix(xft): Allocate xft color by value
...
- Solves the issue with transparency using Xft.
- X11 fonts are still affected by the alpha issue.
Closes jaagr/lemonbuddy#119
2016-10-30 02:37:56 +01:00
Michael Carlberg
41ba9beeee
fix(fontmanager): Make sure font contains characters
2016-10-29 21:27:51 +02:00
Michael Carlberg
c3969e85ef
fix(fontmanager): Add safety check
2016-10-29 21:06:56 +02:00
Michael Carlberg
7a790aa87d
build: Bump version to 2.1.10
2016-10-29 19:49:03 +02:00
Michael Carlberg
c1be785be7
fix(progressbar): Add safety check
...
Fixes jaagr/lemonbuddy#132
2016-10-29 19:37:49 +02:00
Michael Carlberg
f0eb7e00c6
build: Bump version to 2.1.9
2016-10-29 12:39:13 +02:00
Michael Carlberg
d8c64fbce1
build: Bump version to 2.1.8
2016-10-29 08:28:46 +02:00
Michael Carlberg
2768041d7c
fix(network): Connection state
...
Closes jaagr/lemonbuddy#118
2016-10-29 07:26:57 +02:00
Michael Carlberg
e21d084fdd
fix(mpd): Connection state broadcasting
2016-10-29 06:52:48 +02:00
Michael Carlberg
1075144b00
refactor(eventloop): Use concurrent queue for events
...
Events are now enqueued using a thread safe concurrent queue
which makes the previous eventloop locking redundant.
2016-10-29 06:48:51 +02:00
Michael Carlberg
92900e78d6
fix(mpd): Wake up thread when stopping module
2016-10-28 19:52:20 +02:00