Michael Carlberg
abd30860e0
fix(button_press): Use correct double click button
2016-12-20 15:51:45 +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
3a01bcf308
fix: Apply x position once to action blocks
2016-12-20 08:00:08 +01:00
Michael Carlberg
1cccd100bb
fix(bar): Remove double click
2016-12-20 07:46:30 +01:00
Michael Carlberg
cd31d92713
fix(controller): Check eventpipe reads/writes
2016-12-20 05:36:10 +01:00
Michael Carlberg
a89c4ef2dd
refactor: Move all event handling to the controller
2016-12-20 05:16:04 +01:00
NBonaparte
e72f85079f
feat(monitor): Add monitor-fallback option #243
...
Adds new parameter monitor-fallback, which allows the bar to revert to a
specified monitor. Polybar should now be compatible with dynamic
multi-monitor setups when using screenchange-reload = true (no need to
stop and restart the bar with a different environment variable).
Closes #243
2016-12-16 13:09:19 +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
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
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
78b5f9651f
fix(config): Remove tabs
2016-12-14 20:39:40 +01:00
Michael Carlberg
0fca9a0c6e
git: Remove unused headers for boost::di
2016-12-14 20:18:55 +01:00
Michael Carlberg
4c36d65cbe
fix(eventloop): Acquire lock guard
2016-12-14 19:04:33 +01:00
Michael Carlberg
e11798253a
fix(controller): Module margin require surrounding text
2016-12-14 19:03:59 +01:00
Michael Carlberg
0b949ee3bb
fix(config): Allow empty values
2016-12-14 15:10:19 +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
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
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
8da52af6a2
fix(tray): Attached offset relative to inner area
2016-12-14 10:55:40 +01:00
Michael Carlberg
24df9e30a3
fix(tray): Correct alignment coords
2016-12-14 10:55:40 +01:00
Michael Carlberg
4c2d710169
fix(tray): Adjust action coords
...
Ref #241
2016-12-14 10:55:36 +01:00
Michael Carlberg
cab2d49532
fix: Module margin
...
Only output module margin right when there are
preceeding modules.
2016-12-13 14:30:06 +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
d561b9cb2d
fix(builder): Remove surrounding quotes for raw strings
...
Ref #221
2016-12-05 04:15:21 +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
Michael Carlberg
d93bd635b4
fix(label): Remove surrounding quotes
...
Fixes #221
2016-12-04 17:28:58 +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
c870a9efa7
fix(tray): Do not reserve space when detached
...
Ref #218
2016-12-04 05:53:45 +01:00