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
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
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
9eee27544d
fix(renderer): Improve precision when shifting action blocks
...
Fixes #220
2016-12-04 13:50:30 +01:00
Michael Carlberg
44da14755d
refactor(clang-tidy): Apply fixes
2016-12-04 04:11:47 +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
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
6b51234f23
fix(screen): Only reload if changed
2016-12-03 16:44:37 +01:00
Michael Carlberg
086e498388
fix: Replace process on reload
2016-12-03 15:46:48 +01:00
Michael Carlberg
c6540a8950
refactor: Signaling
2016-12-01 08:56:16 +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
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
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
4852f2817c
feat: Reload on XCB_RANDR_SCREEN_CHANGE_NOTIFY
2016-11-27 01:14:02 +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
8db3e79919
refactor(clang-format): Apply fixes
2016-11-25 14:17:41 +01:00
Michael Carlberg
9fdc22843b
refactor: Cleanup rendering
2016-11-25 04:42:27 +01:00
Michael Carlberg
84d58e7619
refactor: Cleanup handling of syntax tags
2016-11-25 04:34:24 +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
09e0ea1932
config: Print deprecation warnings
2016-11-22 03:01:50 +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
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
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
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +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
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