Commit Graph

1245 Commits

Author SHA1 Message Date
Jake Stanger
230dd8b13b
fix(workspaces): clicking currently focused workspace attempts to focus it
Resolves #731
2024-11-19 22:23:57 +00:00
Christian Meissl
ce48fc9d0d
fix(tray): prevent widget buttons from piling up (#788)
each call to set_menu_widget registered a new event handler,
resulting in multiple popups to be created. each popup tried
to issue a grab with the same serial.
prevent this by disconnecting any previously registered handler.
2024-11-19 22:07:52 +00:00
Jake Stanger
944006f859
build(nix): fix deprecated pkg path warning 2024-11-18 21:27:05 +00:00
Jake Stanger
e1f3b1bb72
feat: route gtk logging through tracing
Yay consistent logging, especially now the tray uses a library that likes to vomit warnings
2024-11-18 21:25:57 +00:00
Jake Stanger
5afe5c19b9
Merge pull request #786 from JakeStanger/dependabot/cargo/serde-1.0.215
build(deps): bump serde from 1.0.214 to 1.0.215
2024-11-18 20:54:22 +00:00
dependabot[bot]
31a11ea8e0
build(deps): bump serde from 1.0.214 to 1.0.215
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.214 to 1.0.215.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 20:49:07 +00:00
Jake Stanger
ebcf38f2ea
Merge pull request #785 from JakeStanger/dependabot/cargo/clap-4.5.21
build(deps): bump clap from 4.5.20 to 4.5.21
2024-11-18 20:47:45 +00:00
dependabot[bot]
7538332872
build(deps): bump clap from 4.5.20 to 4.5.21
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.20 to 4.5.21.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.20...clap_complete-v4.5.21)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 20:19:02 +00:00
Jake Stanger
097b548734
Merge pull request #784 from JakeStanger/dependabot/cargo/serde_json-1.0.133
build(deps): bump serde_json from 1.0.132 to 1.0.133
2024-11-18 20:17:49 +00:00
dependabot[bot]
7db732641b
build(deps): bump serde_json from 1.0.132 to 1.0.133
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.132...v1.0.133)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 14:48:19 +00:00
Jake Stanger
bdf6b3b1b3
Merge pull request #782 from JakeStanger/fix/tray-fixes2
More tray fixes
2024-11-17 14:52:01 +00:00
Jake Stanger
f364bb64fb
fix(tray): tray icons not disappearing on close 2024-11-17 14:47:50 +00:00
Jake Stanger
5aa9f37fe4
fix(tray): menus not attaching to secondary bars 2024-11-17 14:47:42 +00:00
Jake Stanger
48dc65f60b
chore(tray): remove unneeded png image code 2024-11-17 14:47:15 +00:00
Ridan Vandenbergh
42e25f5ef2
fix(ipc): support querying against duplicate bar names
It is possible/valid to define multiple bars by the same name by setting `name` on the top-level bar object, but not specifying monitors. This updates IPC to support this scenario.

Allow IPC to act on multiple bars by the same name (#777)
2024-11-16 20:48:12 +00:00
Jake Stanger
e7c56ee09b
Merge pull request #780 from JakeStanger/fix/tray-focus
Fix tray focus issues on Sway
2024-11-16 20:39:16 +00:00
Jake Stanger
f161429dfc
docs(clock): align table columns 2024-11-16 20:36:28 +00:00
Jake Stanger
e4e9632caa
fix(tray): menu causing bar to lose focus on sway
BREAKING CHANGE: The `direction` option has been changed to only accept `horizontal` or `vertical`
2024-11-16 20:36:20 +00:00
Jake Stanger
3f8afa998d
Merge pull request #779 from JakeStanger/refactor/tray-menu
refactor(tray): switch over to `libdbusmenu-gtk3`
2024-11-16 17:38:00 +00:00
Jake Stanger
30de23dc64
refactor(tray): switch over to libdbusmenu-gtk3
Also adds tooltips
2024-11-16 17:35:29 +00:00
Jake Stanger
ff3f541183
docs(tray): fix formatting 2024-11-16 17:19:23 +00:00
Jake Stanger
c04387fa11
ci(clippy): fail on unwrap 2024-11-16 17:19:14 +00:00
Jake Stanger
a76957216b
Merge pull request #773 from JakeStanger/dependabot/cargo/futures-lite-2.5.0
build(deps): bump futures-lite from 2.4.0 to 2.5.0
2024-11-11 22:28:01 +00:00
Jake Stanger
4f775c92a1
Merge pull request #772 from JakeStanger/dependabot/cargo/tokio-1.41.1
build(deps): bump tokio from 1.41.0 to 1.41.1
2024-11-11 22:27:18 +00:00
dependabot[bot]
99124a2224
build(deps): bump futures-lite from 2.4.0 to 2.5.0
Bumps [futures-lite](https://github.com/smol-rs/futures-lite) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases)
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: futures-lite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 14:51:00 +00:00
dependabot[bot]
ddaa758df0
build(deps): bump tokio from 1.41.0 to 1.41.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.41.0 to 1.41.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.41.0...tokio-1.41.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 14:50:49 +00:00
Jake Stanger
05530cf776
fix: regression caused by #652 2024-11-10 17:35:47 +00:00
Jake Stanger
ed338e948c
Merge pull request #766 from JakeStanger/fix/tray-fixes
A whole load of tray fixes 🎉
2024-11-09 19:08:43 +00:00
Jake Stanger
f1e87830ed
chore: tidy main 2024-11-08 01:40:25 +00:00
Jake Stanger
cf38c37fe3
refactor(tray): move some debug logging to trace logging 2024-11-08 01:40:25 +00:00
Jake Stanger
486beff8a5
refactor: put in basic placeholders for menu icon diffs 2024-11-08 01:40:25 +00:00
Jake Stanger
662ddb6946
feat(tray): image support in menu items 2024-11-08 01:40:24 +00:00
Jake Stanger
fb1799531b
fix(tray): image updates lag 1 behind 2024-11-08 01:35:35 +00:00
Jake Stanger
55c0940e1d
fix(tray): update system-tray dep to bring in a whole load of fixes 2024-11-08 01:35:04 +00:00
Jake Stanger
e53a9067b0
fix(tray): cannot activate with mixed left/right click
Fixes #513
2024-11-05 13:20:34 +00:00
Jake Stanger
81c48fecad
fix(clipboard): crash when unsupported image type 2024-11-05 13:15:42 +00:00
Jake Stanger
3cd2fce333
Merge pull request #765 from JakeStanger/fix/style-reload
fix: not properly redrawing on style reload
2024-11-05 13:10:12 +00:00
Jake Stanger
80403e3ca9
fix: not properly redrawing on style reload
Fixes #456
2024-11-05 13:06:23 +00:00
Jake Stanger
66ff849c56
Merge pull request #762 from JakeStanger/dependabot/cargo/reqwest-0.12.9
build(deps): bump reqwest from 0.12.8 to 0.12.9
2024-11-04 16:03:49 +00:00
Jake Stanger
51bddb0765
Merge pull request #761 from JakeStanger/dependabot/cargo/serde-1.0.214
build(deps): bump serde from 1.0.213 to 1.0.214
2024-11-04 16:02:54 +00:00
Jake Stanger
3c0003640a
Merge pull request #759 from JakeStanger/dependabot/cargo/futures-lite-2.4.0
build(deps): bump futures-lite from 2.3.0 to 2.4.0
2024-11-04 16:01:06 +00:00
dependabot[bot]
61f55fe517
build(deps): bump serde from 1.0.213 to 1.0.214
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.213 to 1.0.214.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 15:56:42 +00:00
dependabot[bot]
2f03b66ba7
build(deps): bump futures-lite from 2.3.0 to 2.4.0
Bumps [futures-lite](https://github.com/smol-rs/futures-lite) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/smol-rs/futures-lite/releases)
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: futures-lite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 15:56:35 +00:00
Jake Stanger
8b065fa50f
Revert "build: update workspaces deps"
This reverts commit f06885cea6.
2024-11-04 15:55:22 +00:00
Jake Stanger
f06885cea6
build: update workspaces deps 2024-11-04 15:30:24 +00:00
dependabot[bot]
acc68eb0b7
build(deps): bump reqwest from 0.12.8 to 0.12.9
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.8 to 0.12.9.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.8...v0.12.9)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 14:11:52 +00:00
Jake Stanger
3b3d86b812
Merge pull request #758 from JakeStanger/fix/trackpad-scroll
fix: `on_scroll` events broken on touchpad
2024-11-04 13:08:38 +00:00
Jake Stanger
d87888d173
fix: on_scroll events broken on touchpad
Fixes #652
2024-11-04 13:05:18 +00:00
Jake Stanger
c7cf896164
Merge pull request #757 from JakeStanger/update_flake_lock_action
Update flake.lock
2024-11-01 08:23:16 +00:00
github-actions[bot]
f993cce5f6 flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/5b03654ce046b5167e7b0bccbd8244cb56c16f0e?narHash=sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE%3D' (2024-09-26)
  → 'github:ipetkov/crane/498d9f122c413ee1154e8131ace5a35a80d8fa76?narHash=sha256-RMgSVkZ9H03sxC%2BVh4jxtLTCzSjPq18UWpiM0gq6shQ%3D' (2024-10-27)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/b5b22b42c0d10c7d2463e90a546c394711e3a724?narHash=sha256-uMVkVHL4r3QmlZ1JM%2BUoJwxqa46cgHnIfqGzVlw5ca4%3D' (2024-09-30)
  → 'github:NixOS/nixpkgs/2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53?narHash=sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z%2Bw%3D' (2024-10-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/06cf0e1da4208d3766d898b7fdab6513366d45b9?narHash=sha256-S5kVU7U82LfpEukbn/ihcyNt2%2BEvG7Z5unsKW9H/yFA%3D' (2024-09-29)
  → 'github:nixos/nixpkgs/807e9154dcb16384b1b765ebe9cd2bba2ac287fd?narHash=sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU%3D' (2024-10-29)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c2099c6c7599ea1980151b8b6247a8f93e1806ee?narHash=sha256-83j/GrHsx8GFUcQofKh%2BPRPz6pz8sxAsZyT/HCNdey8%3D' (2024-09-30)
  → 'github:oxalica/rust-overlay/815d1b3ee71716fc91a7bd149801e1f04d45fbc5?narHash=sha256-RFaeY7EWzXOmAL2IQEACbnrEza3TgD5UQApHR4hGHhY%3D' (2024-10-31)
2024-11-01 01:11:16 +00:00