Commit Graph

37 Commits

Author SHA1 Message Date
Jake Stanger
5fb412572f
fix(tray): some init issues
It ain't perfect but it'll do.

Resolves #2.
2023-01-30 18:36:42 +00:00
Jake Stanger
5772711192
fix(music): remote mpris album art not showing
Fixes #55.
2023-01-30 11:47:56 +00:00
Jake Stanger
15f0857859
refactor: replace icon loading with improved general image loading 2023-01-29 17:46:02 +00:00
Jake Stanger
ad97550583
build: update deps 2023-01-28 22:06:47 +00:00
Jake Stanger
c906dd40fb
chore(release): v0.9.0 2023-01-28 14:49:53 +00:00
Jake Stanger
6e5d0c1e8c
feat(workspaces): hyprland support
Resolves #18.

The bar will now automatically detect whether running under Sway or Hyprland and use the correct IPC client depending.
2023-01-27 23:18:59 +00:00
Jake Stanger
6d8e647f12
feat: mpris support
Resolves #25.

Completely refactors the MPD module to be the 'music' module. This now supports both MPD and MPRIS with the same UI for both.

BREAKING CHANGE: The `mpd` module has been renamed to `music`. You will need to update the `type` value in your config and add `player_type` to continue using MPD. You will also need to update your styles.
2023-01-25 23:09:49 +00:00
Jake Stanger
0a341f6673
build: update libcorn 2022-12-12 23:15:57 +00:00
Jake Stanger
a45ebfc1f5
build: update dependencies 2022-12-11 23:30:42 +00:00
Jake Stanger
2c1b2924d4
refactor: move most of the horrible add_module macro content into proper functions 2022-12-04 23:23:22 +00:00
Jake Stanger
c1e1743b5e
chore(release): v0.8.0 2022-11-30 22:58:31 +00:00
Jake Stanger
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
Jake Stanger
73158c2fce
feat(script): new watch mode
Resolves #30
2022-11-06 17:40:01 +00:00
Jake Stanger
3b04642148
chore(release): v0.7.0 2022-11-05 17:33:36 +00:00
Jake Stanger
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
Jake Stanger
51d1cd4a16
build: update deps 2022-11-01 22:56:47 +00:00
Jake Stanger
2a3fe33446
build: remove no longer required patch, reduce build times 2022-10-23 17:01:35 +01:00
Jake Stanger
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
Jake Stanger
e23e691bc6
build: use latest release version of stray 2022-10-16 16:44:51 +01:00
Jake Stanger
b4ac1c9850
Merge pull request #26 from JakeStanger/feat/sysinfo-tokens
Add loads more tokens & interval options to `sysinfo`, optimise info refreshing
2022-10-16 14:04:11 +01:00
Jake Stanger
70e1b526a9
fix(logging): file log not capturing panics 2022-10-16 13:42:35 +01:00
Jake Stanger
35ce3b4d45
chore: use cargo patch block 2022-10-16 00:56:47 +01:00
Jake Stanger
0669504519
chore(release): v0.6.0 2022-10-15 18:26:51 +01:00
Jake Stanger
324f00cdf9
feat: wlroots-agnostic support for focused module 2022-10-04 23:26:07 +01:00
Jake Stanger
b188bc7146
feat: initial support for running outside sway
Progress is being tracked in #18. Currently the workspaces, focused and launcher modules are not supported.
2022-09-27 20:24:16 +01:00
Jake Stanger
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
Jake Stanger
b801751bda
chore(release): v0.5.2 2022-09-07 22:47:57 +01:00
Jake Stanger
ee67b3be28
build: update deps
new corn version allows unicode keys :)
2022-09-07 22:47:47 +01:00
Jake Stanger
6871126bd8
chore(release): v0.5.1 2022-09-06 22:38:16 +01:00
Jake Stanger
015dcd3204
chore(release): v0.5.0 2022-08-25 21:54:32 +01:00
Jake Stanger
6dcae66570
fix: avoid creating loads of sway/mpd clients 2022-08-25 21:53:42 +01:00
Jake Stanger
1d7c3772e4
chore(release): v0.4.0 2022-08-22 23:09:01 +01:00
Jake Stanger
ab8f7ecfc8
feat: logging support and proper error handling 2022-08-21 23:36:51 +01:00
Jake Stanger
226bca632e
chore(release): v0.3.0 2022-08-15 21:12:15 +01:00
Jake Stanger
7a515359ac
chore(release): v0.2.0 2022-08-14 20:42:25 +01:00
Jake Stanger
c3e354f3e0
chore(release): v0.1.0 2022-08-14 14:55:03 +01:00
Jake Stanger
e37d8f2b14
chore: initial commit 2022-08-14 14:30:13 +01:00