fa67d077b1
feat: mouse event config options
...
Adds `on_click_middle`, `on_click_right`, `on_scroll_up`, `on_scroll_down`.
BREAKING CHANGE: `on_click` is now called `on_click_left` for consistency with new options.
Resolves #44 .
2022-12-15 21:37:08 +00:00
1dd5863431
feat: better surface some config error messages
...
Resolves #39
2022-12-12 23:28:49 +00:00
9d5049dde0
refactor: standardise error messages
2022-12-11 21:31:45 +00:00
5d153a02fc
feat(custom): ability to embed scripts in labels for dynamic content
...
Fully resolves #34 .
2022-11-28 22:30:31 +00:00
0fb5fa8c2a
refactor: use latest libcorn
with serde support
...
This should speed Corn config loading up a bit :)
2022-11-28 22:23:11 +00:00
c9e66d4664
feat: common module options (show_if
, on_click
, tooltip
)
...
The first three of many options that are common to all modules.
Resolves #36 . Resolves partially #34 .
2022-11-28 22:09:18 +00:00
ff17ec1996
refactor: various changes based on rust 1.65 clippy
2022-11-06 22:53:48 +00:00
2a3fe33446
build: remove no longer required patch, reduce build times
2022-10-23 17:01:35 +01:00
3750124d8c
feat: new custom module
...
Allows basic modules to be created from a config object, including popup content.
2022-10-23 17:01:35 +01:00
3c43c20c6a
fix: weird behaviour when config does not exist
2022-10-16 12:58:11 +01:00
06cfad62e2
feat: more positioning options ( #23 )
...
* feat: more positioning options
Can now display the bar on the left/right, and avoid anchoring to edges to centre the bar.
BREAKING CHANGE: The `left` and `right` config options have been renamed to `start` and `end`
2022-10-15 16:27:25 +01:00
78e30b39fe
docs: add some rustdoc comments throughout
2022-08-28 16:57:41 +01:00
ab8f7ecfc8
feat: logging support and proper error handling
2022-08-21 23:36:51 +01:00
7625635050
refactor: fix a couple of clippy warnings
2022-08-15 21:11:17 +01:00
2d755d37e5
feat: support for multiple bars per monitor, loading config from env var
...
Restructures `monitor` config key into object of monitor names -> configs.
2022-08-15 17:06:42 +01:00
2e0f033bed
feat: config option for bar height
2022-08-14 20:41:38 +01:00
dc14cb003f
feat: new focused window module
2022-08-14 20:40:11 +01:00
a358037d3e
feat: add support for showing bar at top of screen
2022-08-14 15:56:21 +01:00
e37d8f2b14
chore: initial commit
2022-08-14 14:30:13 +01:00