Jake Stanger
8536ad719a
fix(mpd): incorrectly checking for unix sockets
2022-10-15 00:17:40 +01:00
Jake Stanger
006c242f49
style: run fmt
2022-10-15 00:09:38 +01:00
Jake Stanger
2cd59ef5ff
build: fix compilation errors caused by package update
2022-10-15 00:07:10 +01:00
Jake Stanger
1dd0a9e52f
feat(launcher): add popup css selectors
2022-10-14 23:49:11 +01:00
Jake Stanger
5523e9af46
fix(popup): often opening in wrong place
...
Fixes #16 .
2022-10-14 23:48:28 +01:00
Jake Stanger
5ce50b0987
refactor: tidy and format
2022-10-10 21:59:44 +01:00
Jake Stanger
b1c66b9117
feat: wlroots-agnostic support for launcher module
2022-10-10 20:15:24 +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
ee67b3be28
build: update deps
...
new corn version allows unicode keys :)
2022-09-07 22:47:47 +01:00
Jake Stanger
64650fbf3a
Merge pull request #14 from JakeStanger/fix/launcher-state
...
Fix launcher state issues
2022-09-06 21:56:21 +01:00
Jake Stanger
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
Jake Stanger
78e30b39fe
docs: add some rustdoc comments throughout
2022-08-28 16:57:41 +01:00
Jake Stanger
b81927e3a5
fix(launcher): opening new instances when focused/urgent
2022-08-25 22:08:08 +01:00
Jake Stanger
1e38719996
feat: introduce logging in some areas
2022-08-25 21:53:57 +01:00
Jake Stanger
6dcae66570
fix: avoid creating loads of sway/mpd clients
2022-08-25 21:53:42 +01:00
Jake Stanger
649b0efb19
style: run rustfmt
2022-08-24 21:27:30 +01:00
Jake Stanger
023c2fb118
fix(workspaces): not listening to move event
2022-08-24 21:27:19 +01:00
Jake Stanger
f2ee2dfe7a
fix: error when using with swaybar_command
2022-08-22 23:08:41 +01:00
Jake Stanger
ab8f7ecfc8
feat: logging support and proper error handling
2022-08-21 23:36:51 +01:00
Jake Stanger
7625635050
refactor: fix a couple of clippy warnings
2022-08-15 21:11:17 +01:00
Jake Stanger
8576ac5c44
fix: popup placement issues
2022-08-15 21:11:00 +01:00
Jake Stanger
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
Jake Stanger
de80b99e64
refactor: use macro for module config matching
2022-08-14 23:32:20 +01:00
Jake Stanger
2e0f033bed
feat: config option for bar height
2022-08-14 20:41:38 +01:00
Jake Stanger
dc14cb003f
feat: new focused window module
2022-08-14 20:40:11 +01:00
Jake Stanger
65c5d391d9
fix(launcher): some icons displaying too large
2022-08-14 19:45:10 +01:00
Jake Stanger
53adaa846c
feat(workspaces): support for toggling showing workspaces for all monitors
2022-08-14 16:23:41 +01:00
Jake Stanger
a358037d3e
feat: add support for showing bar at top of screen
2022-08-14 15:56:21 +01:00
Jake Stanger
19d009fe5b
feat(script): enable markup support
2022-08-14 15:55:20 +01:00
Jake Stanger
ed2f49b28f
fix(launcher): popup titles not updating properly
2022-08-14 14:47:28 +01:00
Jake Stanger
e37d8f2b14
chore: initial commit
2022-08-14 14:30:13 +01:00