1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 06:41:03 +02:00

feat: add networkmanager module

This commit is contained in:
Reinout Meliesie 2024-02-10 17:12:07 +01:00 committed by Jake Stanger
parent fb6ae42f3b
commit 6d0fe4c8ac
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
10 changed files with 414 additions and 2 deletions

View file

@ -20,6 +20,7 @@ default = [
"ipc",
"launcher",
"music+all",
"network_manager",
"notifications",
"sys_info",
"tray",
@ -61,6 +62,8 @@ music = ["regex"]
"music+mpris" = ["music", "mpris"]
"music+mpd" = ["music", "mpd-utils"]
network_manager = ["futures-lite", "futures-signals", "zbus"]
notifications = ["zbus"]
sys_info = ["sysinfo", "regex"]
@ -136,6 +139,9 @@ chrono = { version = "0.4.38", optional = true, default-features = false, featur
mpd-utils = { version = "0.2.1", optional = true }
mpris = { version = "2.0.1", optional = true }
# network_manager
futures-signals = { version = "0.3.33", optional = true }
# sys_info
sysinfo = { version = "0.29.11", optional = true }
@ -154,11 +160,11 @@ hyprland = { version = "0.4.0-alpha.2", features = ["silent"], optional = true }
futures-util = { version = "0.3.30", optional = true }
# shared
futures-lite = { version = "2.3.0", optional = true } # workspaces, upower
futures-lite = { version = "2.3.0", optional = true } # network_manager, upower, workspaces
regex = { version = "1.10.6", default-features = false, features = [
"std",
], optional = true } # music, sys_info
zbus = { version = "3.15.2", default-features = false, features = ["tokio"], optional = true } # notifications, upower
zbus = { version = "3.15.2", default-features = false, features = ["tokio"], optional = true } # network_manager, notifications, upower
# schema
schemars = { version = "0.8.21", optional = true }