2da28b9bf5
feat: ability to configure image icon sizes
...
Adds `icon_size` option to following widgets:
- `clipboard`
- `launcher`
- `music`
- `workspaces`
Also adds `cover_image_size` option to `music`.
2023-04-22 22:22:49 +01:00
dfe1964abf
feat(custom): slider widget
...
Resolves partially #68 .
2023-04-10 00:17:09 +01:00
6221f7454a
refactor: fix new clippy warnings
2023-03-19 16:22:40 +00:00
d84139a914
refactor: general tidy up
...
fix clippy warnings from latest stable rust
2023-02-25 14:26:02 +00:00
c347b6c944
feat: add feature flags
...
Flags allow you to disable certain functionality and compile with only select features to reduce build time.
Resolves #54 .
2023-02-01 20:45:52 +00:00
b054c17d14
feat(workspaces): support for using images in name_map
2023-01-30 11:51:01 +00:00
3cf9be89fd
feat: global icon theme setting
...
BREAKING CHANGE: This removes the `icon_theme` option from `launcher` and `focused`. You will need to set this at the top of your config instead.
2023-01-30 11:51:01 +00:00
15f0857859
refactor: replace icon loading with improved general image loading
2023-01-29 17:46:02 +00:00
ea2c84d1bd
refactor: general code tidy-up
2022-12-11 23:17:15 +00:00
5e21cbcca6
refactor: macros to reduce repeated code
2022-12-11 22:45:52 +00:00
9d5049dde0
refactor: standardise error messages
2022-12-11 21:31:45 +00:00
2c1b2924d4
refactor: move most of the horrible add_module
macro content into proper functions
2022-12-04 23:23:22 +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
4662f60ac5
refactor: move various clients to own folder
2022-11-06 23:38:51 +00:00
ff17ec1996
refactor: various changes based on rust 1.65 clippy
2022-11-06 22:53:48 +00:00
ad77dc4e4c
feat: improved logging & error handling
2022-11-05 17:32:29 +00:00
3a83bd31ab
fix: able to insert duplicate keys into collection
...
This replaces the custom `Collection` implementation with `IndexMap` from the crate of the same name.
Fixes #28 .
2022-11-05 17:32:01 +00:00
b7b64886e3
fix: sometimes panicking on startup
2022-10-15 18:01:09 +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
1dd0a9e52f
feat(launcher): add popup css selectors
2022-10-14 23:49:11 +01:00
5523e9af46
fix(popup): often opening in wrong place
...
Fixes #16 .
2022-10-14 23:48:28 +01:00
5ce50b0987
refactor: tidy and format
2022-10-10 21:59:44 +01:00
b1c66b9117
feat: wlroots-agnostic support for launcher
module
2022-10-10 20:15:24 +01:00
720ba7bfb0
Major module refactor ( #19 )
...
* refactor: major module restructuring
Modules now implement a "controller", which allows for separation of logic from UI code and enforces a tighter structure around how modules should be written. The introduction of this change required major refactoring or even rewriting of all modules.
This also better integrates the popup into modules, making it easier for data to be passed around without fetching the same thing twice
The refactor also improves some client code, switching from `ksway` to the much more stable `swayipc-async`. Partial multi-monitor for the tray module has been added.
BREAKING CHANGE: The `mpd` module config has changed, moving the icons to their own object.
2022-09-25 22:49:00 +01:00
64650fbf3a
Merge pull request #14 from JakeStanger/fix/launcher-state
...
Fix launcher state issues
2022-09-06 21:56:21 +01:00
a35d25520c
fix(launcher): item state changes not handled correctly
...
This completely rewrites the item open state handling code (again) in a more logical way that should prevent incorrect states, and removes some locking issues.
2022-09-06 21:46:02 +01:00
78e30b39fe
docs: add some rustdoc comments throughout
2022-08-28 16:57:41 +01:00
b81927e3a5
fix(launcher): opening new instances when focused/urgent
2022-08-25 22:08:08 +01:00
6dcae66570
fix: avoid creating loads of sway/mpd clients
2022-08-25 21:53:42 +01:00
ab8f7ecfc8
feat: logging support and proper error handling
2022-08-21 23:36:51 +01:00
8576ac5c44
fix: popup placement issues
2022-08-15 21:11:00 +01:00
dc14cb003f
feat: new focused window module
2022-08-14 20:40:11 +01:00
65c5d391d9
fix(launcher): some icons displaying too large
2022-08-14 19:45:10 +01:00
a358037d3e
feat: add support for showing bar at top of screen
2022-08-14 15:56:21 +01:00
ed2f49b28f
fix(launcher): popup titles not updating properly
2022-08-14 14:47:28 +01:00
e37d8f2b14
chore: initial commit
2022-08-14 14:30:13 +01:00