2022-08-14 16:30:13 +03:00
|
|
|
[package]
|
|
|
|
name = "ironbar"
|
2024-08-11 18:29:41 +03:00
|
|
|
version = "0.16.1-pre"
|
2022-08-14 16:30:13 +03:00
|
|
|
edition = "2021"
|
2022-08-14 16:55:03 +03:00
|
|
|
license = "MIT"
|
2022-11-02 01:56:47 +03:00
|
|
|
description = "Customisable GTK Layer Shell wlroots/sway bar"
|
2023-06-23 01:06:45 +03:00
|
|
|
repository = "https://github.com/jakestanger/ironbar"
|
2023-08-11 23:15:45 +03:00
|
|
|
categories = ["gui"]
|
2023-07-30 00:00:24 +03:00
|
|
|
keywords = ["gtk", "bar", "wayland", "wlroots", "gtk-layer-shell"]
|
2022-08-14 16:30:13 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
[features]
|
|
|
|
default = [
|
2023-06-23 01:06:45 +03:00
|
|
|
"cli",
|
2024-03-10 15:51:23 +03:00
|
|
|
"cairo",
|
2023-02-25 17:30:45 +03:00
|
|
|
"clipboard",
|
2023-02-01 23:42:05 +03:00
|
|
|
"clock",
|
2024-01-14 04:08:31 +03:00
|
|
|
"config+all",
|
|
|
|
"focused",
|
|
|
|
"http",
|
|
|
|
"ipc",
|
|
|
|
"launcher",
|
2023-02-01 23:42:05 +03:00
|
|
|
"music+all",
|
2024-02-10 19:12:07 +03:00
|
|
|
"network_manager",
|
2024-03-04 01:42:57 +03:00
|
|
|
"notifications",
|
2023-02-01 23:42:05 +03:00
|
|
|
"sys_info",
|
|
|
|
"tray",
|
2023-03-18 23:46:49 +03:00
|
|
|
"upower",
|
2023-04-01 15:07:47 +03:00
|
|
|
"volume",
|
2023-02-01 23:42:05 +03:00
|
|
|
"workspaces+all"
|
|
|
|
]
|
2023-06-23 01:06:45 +03:00
|
|
|
|
|
|
|
cli = ["dep:clap", "ipc"]
|
|
|
|
ipc = ["dep:serde_json"]
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
http = ["dep:reqwest"]
|
|
|
|
|
2023-06-29 21:20:10 +03:00
|
|
|
"config+all" = [
|
|
|
|
"config+json",
|
|
|
|
"config+yaml",
|
|
|
|
"config+toml",
|
|
|
|
"config+corn",
|
|
|
|
"config+ron",
|
|
|
|
]
|
2023-03-19 19:17:31 +03:00
|
|
|
"config+json" = ["universal-config/json"]
|
|
|
|
"config+yaml" = ["universal-config/yaml"]
|
|
|
|
"config+toml" = ["universal-config/toml"]
|
|
|
|
"config+corn" = ["universal-config/corn"]
|
2023-05-03 22:15:37 +03:00
|
|
|
"config+ron" = ["universal-config/ron"]
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2024-03-10 15:51:23 +03:00
|
|
|
cairo = ["lua-src", "mlua", "cairo-rs"]
|
|
|
|
|
2023-02-25 17:30:45 +03:00
|
|
|
clipboard = ["nix"]
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
clock = ["chrono"]
|
|
|
|
|
2024-01-14 04:08:31 +03:00
|
|
|
focused = []
|
|
|
|
|
|
|
|
launcher = []
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
music = ["regex"]
|
|
|
|
"music+all" = ["music", "music+mpris", "music+mpd"]
|
|
|
|
"music+mpris" = ["music", "mpris"]
|
2024-01-08 02:50:10 +03:00
|
|
|
"music+mpd" = ["music", "mpd-utils"]
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2024-02-10 19:12:07 +03:00
|
|
|
network_manager = ["futures-lite", "futures-signals", "zbus"]
|
|
|
|
|
2024-03-04 01:42:57 +03:00
|
|
|
notifications = ["zbus"]
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
sys_info = ["sysinfo", "regex"]
|
|
|
|
|
2023-08-13 17:11:29 +03:00
|
|
|
tray = ["system-tray"]
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-06-23 01:06:45 +03:00
|
|
|
upower = ["upower_dbus", "zbus", "futures-lite"]
|
|
|
|
|
2023-04-01 15:07:47 +03:00
|
|
|
volume = ["libpulse-binding"]
|
|
|
|
|
2024-04-02 22:10:20 +03:00
|
|
|
workspaces = ["futures-lite"]
|
2023-02-01 23:42:05 +03:00
|
|
|
"workspaces+all" = ["workspaces", "workspaces+sway", "workspaces+hyprland"]
|
2024-08-05 15:22:01 +03:00
|
|
|
"workspaces+sway" = ["workspaces", "sway"]
|
2023-02-01 23:42:05 +03:00
|
|
|
"workspaces+hyprland" = ["workspaces", "hyprland"]
|
|
|
|
|
2024-08-05 15:22:01 +03:00
|
|
|
sway = ["swayipc-async"]
|
|
|
|
|
2024-05-11 00:40:00 +03:00
|
|
|
schema = ["dep:schemars"]
|
|
|
|
|
2022-08-14 16:30:13 +03:00
|
|
|
[dependencies]
|
2023-02-01 23:42:05 +03:00
|
|
|
# core
|
2023-12-18 02:51:43 +03:00
|
|
|
gtk = "0.18.1"
|
2024-07-15 17:39:48 +03:00
|
|
|
gtk-layer-shell = "0.8.1"
|
2023-12-31 03:42:06 +03:00
|
|
|
glib = "0.18.5"
|
2024-10-28 17:45:57 +03:00
|
|
|
tokio = { version = "1.41.0", features = [
|
2023-06-29 21:20:10 +03:00
|
|
|
"macros",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"time",
|
|
|
|
"process",
|
|
|
|
"sync",
|
|
|
|
"io-util",
|
|
|
|
"net",
|
|
|
|
] }
|
2023-10-23 17:09:04 +03:00
|
|
|
tracing = "0.1.40"
|
2023-05-29 18:25:15 +03:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
2024-04-02 22:10:20 +03:00
|
|
|
tracing-error = { version = "0.2.0" , default-features = false }
|
2023-11-20 17:43:32 +03:00
|
|
|
tracing-appender = "0.2.3"
|
2023-08-14 17:49:32 +03:00
|
|
|
strip-ansi-escapes = "0.2.0"
|
2024-03-18 20:28:10 +03:00
|
|
|
color-eyre = "0.6.3"
|
2024-10-28 17:46:08 +03:00
|
|
|
serde = { version = "1.0.213", features = ["derive"] }
|
2024-10-07 17:50:55 +03:00
|
|
|
indexmap = "2.6.0"
|
2023-05-26 21:50:02 +03:00
|
|
|
dirs = "5.0.1"
|
2024-03-04 17:57:45 +03:00
|
|
|
walkdir = "2.5.0"
|
2024-10-28 17:46:25 +03:00
|
|
|
notify = { version = "7.0.0", default-features = false }
|
2023-12-12 01:01:50 +03:00
|
|
|
wayland-client = "0.31.1"
|
|
|
|
wayland-protocols-wlr = { version = "0.2.0", features = ["client"] }
|
2024-02-12 17:04:47 +03:00
|
|
|
smithay-client-toolkit = { version = "0.18.1", default-features = false, features = [
|
2023-06-29 21:20:10 +03:00
|
|
|
"calloop",
|
|
|
|
] }
|
2024-06-20 22:58:04 +03:00
|
|
|
universal-config = { version = "0.5.0", default-features = false }
|
2024-08-20 13:00:48 +03:00
|
|
|
ctrlc = "3.4.5"
|
2023-02-01 23:42:05 +03:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
2023-06-23 01:06:45 +03:00
|
|
|
# cli
|
2024-10-14 17:39:19 +03:00
|
|
|
clap = { version = "4.5.20", optional = true, features = ["derive"] }
|
2023-06-23 01:06:45 +03:00
|
|
|
|
|
|
|
# ipc
|
2024-10-21 17:13:52 +03:00
|
|
|
serde_json = { version = "1.0.132", optional = true }
|
2023-06-23 01:06:45 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# http
|
2024-10-07 17:51:11 +03:00
|
|
|
reqwest = { version = "0.12.8", default-features = false, features = ["default-tls", "http2"], optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2024-03-10 15:51:23 +03:00
|
|
|
# cairo
|
2024-07-29 17:51:14 +03:00
|
|
|
lua-src = { version = "547.0.0", optional = true }
|
2024-06-24 17:38:21 +03:00
|
|
|
mlua = { version = "0.9.9", optional = true, features = ["luajit"] }
|
2024-03-10 15:51:23 +03:00
|
|
|
cairo-rs = { version = "0.18.5", optional = true, features = ["png"] }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-02-25 17:30:45 +03:00
|
|
|
# clipboard
|
2024-05-27 17:48:40 +03:00
|
|
|
nix = { version = "0.29.0", optional = true, features = ["event", "fs"] }
|
2023-02-25 17:30:45 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# clock
|
2024-06-20 22:58:04 +03:00
|
|
|
chrono = { version = "0.4.38", optional = true, default-features = false, features = ["clock", "unstable-locales"] }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
|
|
|
# music
|
2024-04-01 17:13:53 +03:00
|
|
|
mpd-utils = { version = "0.2.1", optional = true }
|
2023-06-26 18:05:17 +03:00
|
|
|
mpris = { version = "2.0.1", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2024-02-10 19:12:07 +03:00
|
|
|
# network_manager
|
2024-08-05 17:15:06 +03:00
|
|
|
futures-signals = { version = "0.3.34", optional = true }
|
2024-02-10 19:12:07 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# sys_info
|
2023-11-27 17:25:32 +03:00
|
|
|
sysinfo = { version = "0.29.11", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
|
|
|
# tray
|
2024-04-02 22:10:20 +03:00
|
|
|
system-tray = { version = "0.2.0", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-03-18 23:46:49 +03:00
|
|
|
# upower
|
|
|
|
upower_dbus = { version = "0.3.2", optional = true }
|
|
|
|
|
2023-04-01 15:07:47 +03:00
|
|
|
# volume
|
|
|
|
libpulse-binding = { version = "2.28.1", optional = true }
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# workspaces
|
2024-11-04 18:26:05 +03:00
|
|
|
swayipc-async = { version = "2.0.3", optional = true }
|
|
|
|
hyprland = { version = "0.4.0-beta.1", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
|
|
|
# shared
|
2024-02-10 19:12:07 +03:00
|
|
|
futures-lite = { version = "2.3.0", optional = true } # network_manager, upower, workspaces
|
2024-10-28 17:46:37 +03:00
|
|
|
regex = { version = "1.11.1", default-features = false, features = [
|
2023-06-29 21:20:10 +03:00
|
|
|
"std",
|
2023-04-01 15:07:47 +03:00
|
|
|
], optional = true } # music, sys_info
|
2024-02-10 19:12:07 +03:00
|
|
|
zbus = { version = "3.15.2", default-features = false, features = ["tokio"], optional = true } # network_manager, notifications, upower
|
2024-05-11 00:40:00 +03:00
|
|
|
|
|
|
|
# schema
|
2024-06-03 17:56:45 +03:00
|
|
|
schemars = { version = "0.8.21", optional = true }
|
2024-08-03 18:14:03 +03:00
|
|
|
|
|
|
|
# -- PATCH --
|
|
|
|
# temp fix for tracing-appender/time
|
|
|
|
time = "0.3.36"
|