Commit Graph

1210 Commits

Author SHA1 Message Date
Jake Stanger
e812889762
Merge pull request #696 from JakeStanger/fix/upower-crash
fix(upower): avoid panic on client init error
2024-08-09 23:19:23 +01:00
Jake Stanger
474e1fe364
fix(upower): avoid panic on client init error 2024-08-09 23:16:00 +01:00
Jake Stanger
9d125353c4
refactor: small tidy 2024-08-09 23:08:08 +01:00
Jake Stanger
1e0ab67aac
Merge pull request #695 from JakeStanger/fix/popup-scaling
fix: popups not accounting for monitor scaling
2024-08-09 23:02:42 +01:00
Jake Stanger
45d5bf5feb
fix: popups not accounting for monitor scaling
Fixes #657
2024-08-09 22:56:30 +01:00
Jake Stanger
7de0412399
Merge pull request #691 from JakeStanger/dependabot/cargo/futures-signals-0.3.34
build(deps): bump futures-signals from 0.3.33 to 0.3.34
2024-08-05 15:35:52 +01:00
dependabot[bot]
17291d2dc7
build(deps): bump futures-signals from 0.3.33 to 0.3.34
Bumps [futures-signals](https://github.com/Pauan/rust-signals) from 0.3.33 to 0.3.34.
- [Changelog](https://github.com/Pauan/rust-signals/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Pauan/rust-signals/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:15:06 +00:00
Rodrigo Batista de Moraes
e307e15dc4
feat: new sway-mode module (#671)
* feat: add sway-mode module

* refactor: Avoid making multiple connections to SwayIPC

Now `sway::Client` is store in `ironbar.clients`, and allow dynamically
registering event listeners, instead of hardcoding events for Workspace
updates.

Remove the use of `swayipc::Connection` from `sway-mode` module, and
replace it with the new event listener system.

#671
2024-08-05 13:22:01 +01:00
Jake Stanger
4f2f890c93
Merge pull request #685 from JakeStanger/fix/tray-empty-icon
fix(tray): crash when provided empty pixmap
2024-08-04 16:36:21 +01:00
Jake Stanger
eaf13c564f
Merge pull request #688 from JakeStanger/update_flake_lock_action
Update flake.lock
2024-08-04 16:14:24 +01:00
github-actions[bot]
8b806bb562 flake.lock: Update
Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/480dff0be03dac0e51a8dfc26e882b0d123a450e?narHash=sha256-dIubLa56W9sNNz0e8jGxrX3CAkPXsq7snuFA/Ie6dn8%3D' (2024-05-29)
  → 'github:ipetkov/crane/852a59f9672c3413d75bca2b3e9cb4c661cacfc3?narHash=sha256-lcut8uZMSa80z%2BaWpxg%2B9nM8BKWtpU59rtcpMXtHd1Q%3D' (2024-08-03)
• Updated input 'naersk':
    'github:nix-community/naersk/fa19d8c135e776dc97f4dcca08656a0eeb28d5c0?narHash=sha256-oIs5EF%2B6VpHJRvvpVWuqCYJMMVW/6h59aYUv9lABLtY%3D' (2024-05-30)
  → 'github:nix-community/naersk/3fb418eaf352498f6b6c30592e3beb63df42ef11?narHash=sha256-r/xppY958gmZ4oTfLiHN0ZGuQ%2BRSTijDblVgVLFi1mw%3D' (2024-07-23)
• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/6132b0f6e344ce2fe34fc051b72fb46e34f668e0?narHash=sha256-7R2ZvOnvd9h8fDd65p0JnB7wXfUvreox3xFdYWd1BnY%3D' (2024-05-30)
  → 'github:NixOS/nixpkgs/81610abc161d4021b29199aa464d6a1a521e0cc9?narHash=sha256-TcXjLVNd3VeH1qKPH335Tc4RbFDbZQX%2Bd7rqnDUoRaY%3D' (2024-08-02)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b?narHash=sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs%3D' (2024-05-29)
  → 'github:nixos/nixpkgs/d04953086551086b44b6f3c6b7eeb26294f207da?narHash=sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo%3D' (2024-08-02)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/2a7b53172ed08f856b8382d7dcfd36a4e0cbd866?narHash=sha256-/3sxIe7MZqF/jw1RTQCSmgTjwVod43mmrk84m50MJQ4%3D' (2024-05-31)
  → 'github:oxalica/rust-overlay/27ec296d93cb4b2d03e8cbd019b1b4cde8c34280?narHash=sha256-cWD5pCs9AYb%2B512/yCx9D0Pl5KcmyuXHeJpsDw/D1vs%3D' (2024-08-04)
• Removed input 'rust-overlay/flake-utils'
• Removed input 'rust-overlay/flake-utils/systems'
2024-08-04 15:11:01 +00:00
Jake Stanger
fe79a4eaf6
Merge pull request #687 from JakeStanger/ci/flake-lock
ci(nix flake): bump update step version
2024-08-04 16:09:56 +01:00
Jake Stanger
df1b131cc8
ci(nix flake): bump update step version 2024-08-04 16:08:00 +01:00
Jake Stanger
92c690dcd1
Merge pull request #686 from JakeStanger/fix/notifications
fix(notifications): client broken by recent refactor
2024-08-04 13:49:13 +01:00
Jake Stanger
f819aec259
fix(notifications): client broken by recent refactor
Fixes #674
2024-08-04 13:46:12 +01:00
Jake Stanger
2bc741d197
fix(tray): crash when provided empty pixmap
Fixes #675
2024-08-04 13:40:05 +01:00
Jake Stanger
578293cd16
Merge pull request #518 from Zedfrigg/feat/networkmanager
Add NetworkManager module
2024-08-04 13:01:03 +01:00
Reinout Meliesie
6d0fe4c8ac
feat: add networkmanager module 2024-08-04 12:55:12 +01:00
Jake Stanger
fb6ae42f3b
fix: crash due to clipboard fd incorrectly closed 2024-08-04 11:50:22 +01:00
Jake Stanger
6e43c7ae0c
build: update deps 2024-08-03 16:14:03 +01:00
Jake Stanger
461bee8847
fix(bar): do not add start/center/end containers if empty 2024-08-03 15:51:07 +01:00
Jake Stanger
44a70d949b
Merge pull request #681 from JakeStanger/dependabot/cargo/lua-src-547.0.0
build(deps): bump lua-src from 546.0.2 to 547.0.0
2024-08-03 15:46:06 +01:00
Jake Stanger
f0d7a0b6bc
Merge pull request #680 from JakeStanger/dependabot/cargo/serde_json-1.0.121
build(deps): bump serde_json from 1.0.120 to 1.0.121
2024-08-03 15:45:45 +01:00
dependabot[bot]
03cb384e2b
build(deps): bump lua-src from 546.0.2 to 547.0.0
Bumps [lua-src](https://github.com/khvzak/lua-src-rs) from 546.0.2 to 547.0.0.
- [Commits](https://github.com/khvzak/lua-src-rs/compare/v546.0.2...v547.0.0)

---
updated-dependencies:
- dependency-name: lua-src
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-29 14:51:14 +00:00
dependabot[bot]
0db255b98c
build(deps): bump serde_json from 1.0.120 to 1.0.121
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.120 to 1.0.121.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.120...v1.0.121)

---
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-07-29 14:50:51 +00:00
Jake Stanger
e1d55c6972
Merge pull request #676 from JakeStanger/dependabot/cargo/tokio-1.38.1
build(deps): bump tokio from 1.38.0 to 1.38.1
2024-07-22 22:03:23 +01:00
Jake Stanger
827e5b6abf
Merge pull request #679 from JakeStanger/dependabot/cargo/cargo-5c0860a51f
build(deps): bump openssl from 0.10.64 to 0.10.66 in the cargo group
2024-07-22 22:02:38 +01:00
dependabot[bot]
5a3eaf90c4
build(deps): bump openssl from 0.10.64 to 0.10.66 in the cargo group
Bumps the cargo group with 1 update: [openssl](https://github.com/sfackler/rust-openssl).


Updates `openssl` from 0.10.64 to 0.10.66
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-22 18:13:01 +00:00
dependabot[bot]
172e0ad411
build(deps): bump tokio from 1.38.0 to 1.38.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.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-07-22 14:10:59 +00:00
Jake Stanger
73bdff656f
Merge pull request #667 from JakeStanger/dependabot/cargo/gtk-layer-shell-0.8.1
build(deps): bump gtk-layer-shell from 0.8.0 to 0.8.1
2024-07-19 17:15:46 +01:00
Jake Stanger
4919021e7f
Merge pull request #665 from JakeStanger/dependabot/cargo/clap-4.5.9
build(deps): bump clap from 4.5.8 to 4.5.9
2024-07-19 17:15:28 +01:00
dependabot[bot]
c82ff6815c
build(deps): bump gtk-layer-shell from 0.8.0 to 0.8.1
Bumps [gtk-layer-shell](https://github.com/pentamassiv/gtk-layer-shell-gir) from 0.8.0 to 0.8.1.
- [Commits](https://github.com/pentamassiv/gtk-layer-shell-gir/commits)

---
updated-dependencies:
- dependency-name: gtk-layer-shell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 14:39:48 +00:00
dependabot[bot]
b4484d6e4e
build(deps): bump clap from 4.5.8 to 4.5.9
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.8 to 4.5.9.
- [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.8...v4.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 14:39:19 +00:00
Jake Stanger
58190ab079
Merge pull request #661 from JakeStanger/dependabot/cargo/serde-1.0.204
build(deps): bump serde from 1.0.203 to 1.0.204
2024-07-13 22:04:29 +01:00
dependabot[bot]
81df87b6a9
build(deps): bump serde from 1.0.203 to 1.0.204
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 18:07:51 +00:00
Jake Stanger
1adc031d9c
Merge pull request #660 from JakeStanger/dependabot/cargo/serde_json-1.0.120
build(deps): bump serde_json from 1.0.119 to 1.0.120
2024-07-13 19:06:25 +01:00
dependabot[bot]
3a9753b14a
build(deps): bump serde_json from 1.0.119 to 1.0.120
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120)

---
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-07-08 14:49:47 +00:00
Jake Stanger
bcaa13deae
Merge pull request #654 from JakeStanger/dependabot/cargo/serde_json-1.0.119
build(deps): bump serde_json from 1.0.117 to 1.0.119
2024-07-02 14:39:13 +01:00
Jake Stanger
91f02c8ed1
Merge pull request #653 from JakeStanger/dependabot/cargo/clap-4.5.8
build(deps): bump clap from 4.5.7 to 4.5.8
2024-07-02 14:38:56 +01:00
Alpha-Ursae-Minoris
92ae1a8d73
feat(nix): home-manager option to read style.css file 2024-07-02 14:38:35 +01:00
dependabot[bot]
da7c190c42
build(deps): bump serde_json from 1.0.117 to 1.0.119
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.117 to 1.0.119.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.117...v1.0.119)

---
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-07-01 14:44:08 +00:00
dependabot[bot]
9d7f0ff6dc
build(deps): bump clap from 4.5.7 to 4.5.8
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.7 to 4.5.8.
- [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.7...v4.5.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 14:43:55 +00:00
Jake Stanger
6a06fa534a
Merge pull request #649 from JakeStanger/dependabot/cargo/mlua-0.9.9
build(deps): bump mlua from 0.9.8 to 0.9.9
2024-06-25 11:10:38 +01:00
Jake Stanger
fdc84b9f47
Merge pull request #648 from JakeStanger/dependabot/cargo/reqwest-0.12.5
build(deps): bump reqwest from 0.12.4 to 0.12.5
2024-06-25 11:10:22 +01:00
dependabot[bot]
ffa688b12a
build(deps): bump mlua from 0.9.8 to 0.9.9
Bumps [mlua](https://github.com/khvzak/mlua) from 0.9.8 to 0.9.9.
- [Release notes](https://github.com/khvzak/mlua/releases)
- [Changelog](https://github.com/mlua-rs/mlua/blob/master/CHANGELOG.md)
- [Commits](https://github.com/khvzak/mlua/compare/v0.9.8...v0.9.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 14:38:21 +00:00
dependabot[bot]
f2ee06f234
build(deps): bump reqwest from 0.12.4 to 0.12.5
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.4 to 0.12.5.
- [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.4...v0.12.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 14:38:11 +00:00
Jake Stanger
a9d728f191
Merge pull request #644 from JakeStanger/fix/minor-changes
Fix/minor changes
2024-06-20 21:15:18 +01:00
Jake Stanger
51df2b766b
build: fix clippy warning 2024-06-20 20:59:08 +01:00
Jake Stanger
7e04e30171
fix(wayland): exit on event dispatch error
This should hopefully resolve log spamming issues.
2024-06-20 20:58:56 +01:00
Jake Stanger
167f23dcbd
chore: change default_features to default-features 2024-06-20 20:58:04 +01:00