2022-08-14 14:30:13 +01:00
|
|
|
[package]
|
|
|
|
name = "ironbar"
|
2024-11-24 16:08:28 +00:00
|
|
|
version = "0.16.1"
|
2025-02-21 16:35:54 +00:00
|
|
|
edition = "2024"
|
2022-08-14 14:55:03 +01:00
|
|
|
license = "MIT"
|
2022-11-01 22:56:47 +00:00
|
|
|
description = "Customisable GTK Layer Shell wlroots/sway bar"
|
2023-06-22 23:06:45 +01:00
|
|
|
repository = "https://github.com/jakestanger/ironbar"
|
2023-08-11 21:15:45 +01:00
|
|
|
categories = ["gui"]
|
2023-07-29 22:00:24 +01:00
|
|
|
keywords = ["gtk", "bar", "wayland", "wlroots", "gtk-layer-shell"]
|
2022-08-14 14:30:13 +01:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
[features]
|
|
|
|
default = [
|
2025-05-16 22:15:32 +01:00
|
|
|
"bindmode+all",
|
2023-06-22 23:06:45 +01:00
|
|
|
"cli",
|
2024-03-10 12:51:23 +00:00
|
|
|
"cairo",
|
2023-02-25 14:30:45 +00:00
|
|
|
"clipboard",
|
2023-02-01 20:42:05 +00:00
|
|
|
"clock",
|
2024-01-13 22:08:31 -03:00
|
|
|
"config+all",
|
2025-03-24 22:11:24 +00:00
|
|
|
"custom",
|
2024-01-13 22:08:31 -03:00
|
|
|
"focused",
|
|
|
|
"http",
|
|
|
|
"ipc",
|
2025-02-04 00:19:30 +03:00
|
|
|
"keyboard+all",
|
2024-01-13 22:08:31 -03:00
|
|
|
"launcher",
|
2025-03-24 22:11:24 +00:00
|
|
|
"label",
|
2023-02-01 20:42:05 +00:00
|
|
|
"music+all",
|
2024-02-10 17:12:07 +01:00
|
|
|
"network_manager",
|
2024-03-03 22:42:57 +00:00
|
|
|
"notifications",
|
2025-03-24 22:11:24 +00:00
|
|
|
"script",
|
2023-02-01 20:42:05 +00:00
|
|
|
"sys_info",
|
|
|
|
"tray",
|
2023-03-19 02:16:49 +05:30
|
|
|
"upower",
|
2023-04-01 13:07:47 +01:00
|
|
|
"volume",
|
2025-04-16 18:43:14 -03:00
|
|
|
"workspaces+all",
|
2023-02-01 20:42:05 +00:00
|
|
|
]
|
2023-06-22 23:06:45 +01:00
|
|
|
|
2025-04-16 18:43:14 -03:00
|
|
|
cli = ["ipc"]
|
|
|
|
ipc = ["dep:serde_json", "dep:clap"]
|
2023-06-22 23:06:45 +01:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
http = ["dep:reqwest"]
|
|
|
|
|
2025-01-30 20:09:48 -03:00
|
|
|
bindmode = []
|
|
|
|
"bindmode+all" = ["bindmode+sway", "bindmode+hyprland"]
|
|
|
|
"bindmode+sway" = ["bindmode", "sway"]
|
|
|
|
"bindmode+hyprland" = ["bindmode", "hyprland"]
|
|
|
|
|
2023-06-29 21:20:10 +03:00
|
|
|
"config+all" = [
|
2025-01-16 23:01:48 +00:00
|
|
|
"config+json",
|
|
|
|
"config+yaml",
|
|
|
|
"config+toml",
|
|
|
|
"config+corn",
|
|
|
|
"config+ron",
|
2023-06-29 21:20:10 +03:00
|
|
|
]
|
2023-03-19 16:17:31 +00:00
|
|
|
"config+json" = ["universal-config/json"]
|
|
|
|
"config+yaml" = ["universal-config/yaml"]
|
|
|
|
"config+toml" = ["universal-config/toml"]
|
|
|
|
"config+corn" = ["universal-config/corn"]
|
2023-05-03 20:15:37 +01:00
|
|
|
"config+ron" = ["universal-config/ron"]
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2024-03-10 12:51:23 +00:00
|
|
|
cairo = ["lua-src", "mlua", "cairo-rs"]
|
|
|
|
|
2025-01-16 23:01:48 +00:00
|
|
|
clipboard = ["dep:rustix"]
|
2023-02-25 14:30:45 +00:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
clock = ["chrono"]
|
|
|
|
|
2025-03-24 22:11:24 +00:00
|
|
|
custom = []
|
|
|
|
|
2024-01-13 22:08:31 -03:00
|
|
|
focused = []
|
|
|
|
|
2025-04-16 18:43:14 -03:00
|
|
|
keyboard = ["dep:colpetto", "dep:evdev-rs", "dep:rustix", "futures-lite"]
|
2025-02-04 00:19:30 +03:00
|
|
|
"keyboard+all" = ["keyboard", "keyboard+sway", "keyboard+hyprland"]
|
|
|
|
"keyboard+sway" = ["keyboard", "sway"]
|
|
|
|
"keyboard+hyprland" = ["keyboard", "hyprland"]
|
2024-11-17 23:46:02 +00:00
|
|
|
|
2025-03-24 22:11:24 +00:00
|
|
|
label = []
|
|
|
|
|
2024-01-13 22:08:31 -03:00
|
|
|
launcher = []
|
|
|
|
|
2025-01-04 23:08:01 +00:00
|
|
|
music = ["dep:regex"]
|
2023-02-01 20:42:05 +00:00
|
|
|
"music+all" = ["music", "music+mpris", "music+mpd"]
|
|
|
|
"music+mpris" = ["music", "mpris"]
|
2024-01-07 23:50:10 +00:00
|
|
|
"music+mpd" = ["music", "mpd-utils"]
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2024-02-10 17:12:07 +01:00
|
|
|
network_manager = ["futures-lite", "futures-signals", "zbus"]
|
|
|
|
|
2024-03-03 22:42:57 +00:00
|
|
|
notifications = ["zbus"]
|
|
|
|
|
2025-03-24 22:11:24 +00:00
|
|
|
script = []
|
|
|
|
|
2025-01-04 23:08:01 +00:00
|
|
|
sys_info = ["dep:sysinfo"]
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2024-11-17 14:47:15 +00:00
|
|
|
tray = ["system-tray"]
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2025-02-08 01:54:17 +00:00
|
|
|
upower = ["zbus", "futures-lite"]
|
2023-06-22 23:06:45 +01:00
|
|
|
|
2023-04-01 13:07:47 +01:00
|
|
|
volume = ["libpulse-binding"]
|
|
|
|
|
2024-04-02 20:10:20 +01:00
|
|
|
workspaces = ["futures-lite"]
|
2024-09-08 18:44:54 +01:00
|
|
|
"workspaces+all" = ["workspaces", "workspaces+sway", "workspaces+hyprland", "workspaces+niri"]
|
2024-08-05 09:22:01 -03:00
|
|
|
"workspaces+sway" = ["workspaces", "sway"]
|
2023-02-01 20:42:05 +00:00
|
|
|
"workspaces+hyprland" = ["workspaces", "hyprland"]
|
2025-04-16 18:43:14 -03:00
|
|
|
"workspaces+niri" = ["workspaces", "niri"]
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2025-03-28 20:47:18 +00:00
|
|
|
sway = ["swayipc-async", "futures-lite"]
|
2024-08-05 09:22:01 -03:00
|
|
|
|
2025-04-16 18:43:14 -03:00
|
|
|
niri = ["dep:serde_json"]
|
|
|
|
|
2024-05-10 22:40:00 +01:00
|
|
|
schema = ["dep:schemars"]
|
|
|
|
|
2022-08-14 14:30:13 +01:00
|
|
|
[dependencies]
|
2023-02-01 20:42:05 +00:00
|
|
|
# core
|
2024-12-16 14:46:14 +00:00
|
|
|
gtk = "0.18.2"
|
2024-12-09 14:18:15 +00:00
|
|
|
gtk-layer-shell = "0.8.2"
|
2023-12-31 00:42:06 +00:00
|
|
|
glib = "0.18.5"
|
2025-05-12 14:19:05 +00:00
|
|
|
tokio = { version = "1.45.0", features = [
|
2025-01-16 23:01:48 +00:00
|
|
|
"macros",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"time",
|
|
|
|
"process",
|
|
|
|
"sync",
|
|
|
|
"io-util",
|
|
|
|
"net",
|
2023-06-29 21:20:10 +03:00
|
|
|
] }
|
2024-12-02 16:31:00 +00:00
|
|
|
tracing = "0.1.41"
|
2024-12-09 14:18:38 +00:00
|
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
2025-01-16 23:01:48 +00:00
|
|
|
tracing-error = { version = "0.2.1", default-features = false }
|
2023-11-20 14:43:32 +00:00
|
|
|
tracing-appender = "0.2.3"
|
2023-08-14 14:49:32 +00:00
|
|
|
strip-ansi-escapes = "0.2.0"
|
2024-03-18 17:28:10 +00:00
|
|
|
color-eyre = "0.6.3"
|
2025-03-10 16:44:36 +00:00
|
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
2025-04-07 16:01:34 +00:00
|
|
|
indexmap = "2.9.0"
|
2025-01-20 15:04:08 +00:00
|
|
|
dirs = "6.0.0"
|
2024-03-04 14:57:45 +00:00
|
|
|
walkdir = "2.5.0"
|
2025-01-13 14:57:02 +00:00
|
|
|
notify = { version = "8.0.0", default-features = false }
|
2023-12-11 22:01:50 +00:00
|
|
|
wayland-client = "0.31.1"
|
2025-05-05 14:54:43 +00:00
|
|
|
wayland-protocols-wlr = { version = "0.3.8", features = ["client"] }
|
2024-02-12 14:04:47 +00:00
|
|
|
smithay-client-toolkit = { version = "0.18.1", default-features = false, features = [
|
2025-01-16 23:01:48 +00:00
|
|
|
"calloop",
|
2023-06-29 21:20:10 +03:00
|
|
|
] }
|
2025-04-14 20:52:55 +01:00
|
|
|
universal-config = { version = "0.5.1", default-features = false }
|
2025-04-07 15:53:31 +00:00
|
|
|
ctrlc = "3.4.6"
|
2023-02-01 20:42:05 +00:00
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
2023-06-22 23:06:45 +01:00
|
|
|
# cli
|
2025-05-12 14:18:44 +00:00
|
|
|
clap = { version = "4.5.38", optional = true, features = ["derive"] }
|
2023-06-22 23:06:45 +01:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
# http
|
2025-03-31 14:43:52 +00:00
|
|
|
reqwest = { version = "0.12.15", default-features = false, features = ["default-tls", "http2"], optional = true }
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2024-03-10 12:51:23 +00:00
|
|
|
# cairo
|
2025-05-05 15:01:29 +00:00
|
|
|
lua-src = { version = "547.1.0", optional = true }
|
2025-04-04 20:32:58 +01:00
|
|
|
mlua = { version = "0.10.3", optional = true, features = ["luajit", "send"] }
|
2024-03-10 12:51:23 +00:00
|
|
|
cairo-rs = { version = "0.18.5", optional = true, features = ["png"] }
|
2023-02-01 20:42:05 +00:00
|
|
|
|
|
|
|
# clock
|
2025-05-12 14:18:54 +00:00
|
|
|
chrono = { version = "0.4.41", optional = true, default-features = false, features = ["clock", "unstable-locales"] }
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2025-02-04 00:19:30 +03:00
|
|
|
# keyboard
|
2025-01-16 23:01:48 +00:00
|
|
|
colpetto = { version = "0.6.0", features = ["tokio", "tracing"], optional = true }
|
2024-11-17 23:46:02 +00:00
|
|
|
evdev-rs = { version = "0.6.1", optional = true }
|
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
# music
|
2024-04-01 14:13:53 +00:00
|
|
|
mpd-utils = { version = "0.2.1", optional = true }
|
2023-06-26 15:05:17 +00:00
|
|
|
mpris = { version = "2.0.1", optional = true }
|
2025-01-04 23:08:01 +00:00
|
|
|
regex = { version = "1.11.1", default-features = false, features = [
|
|
|
|
"std",
|
|
|
|
], optional = true }
|
2023-02-01 20:42:05 +00:00
|
|
|
|
2024-02-10 17:12:07 +01:00
|
|
|
# network_manager
|
2024-08-05 14:15:06 +00:00
|
|
|
futures-signals = { version = "0.3.34", optional = true }
|
2024-02-10 17:12:07 +01:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
# sys_info
|
2025-05-05 14:44:01 +00:00
|
|
|
sysinfo = { version = "0.35.0", optional = true }
|
2023-02-01 20:42:05 +00:00
|
|
|
|
|
|
|
# tray
|
2025-02-08 01:54:17 +00:00
|
|
|
system-tray = { version = "0.7.0", features = ["dbusmenu-gtk3"], optional = true }
|
2023-03-19 02:16:49 +05:30
|
|
|
|
2023-04-01 13:07:47 +01:00
|
|
|
# volume
|
2025-04-21 14:40:54 +00:00
|
|
|
libpulse-binding = { version = "2.30.1", optional = true }
|
2023-04-01 13:07:47 +01:00
|
|
|
|
2023-02-01 20:42:05 +00:00
|
|
|
# shared
|
2025-04-16 18:43:14 -03:00
|
|
|
futures-lite = { version = "2.6.0", optional = true } # network_manager, upower, workspaces, keyboard
|
2025-05-05 16:01:02 +00:00
|
|
|
zbus = { version = "5.6.0", default-features = false, features = ["tokio"], optional = true } # network_manager, notifications, upower
|
2025-02-15 23:35:32 +00:00
|
|
|
swayipc-async = { version = "2.0.4", optional = true } # workspaces, keyboard
|
2025-05-16 22:15:32 +01:00
|
|
|
hyprland = { version = "0.4.0-beta.2", optional = true } # workspaces, keyboard
|
2025-05-05 14:43:05 +00:00
|
|
|
rustix = { version = "1.0.7", default-features = false, features = ["std", "fs", "pipe", "event"], optional = true } # clipboard, input
|
2025-04-16 18:43:14 -03:00
|
|
|
serde_json = { version = "1.0.140", optional = true } # ipc, niri
|
2024-05-10 22:40:00 +01:00
|
|
|
|
|
|
|
# schema
|
2025-03-03 15:31:23 +00:00
|
|
|
schemars = { version = "0.8.22", optional = true }
|
2024-08-03 16:14:03 +01:00
|
|
|
|
2024-07-30 14:01:49 -04:00
|
|
|
[build-dependencies]
|
2025-05-12 14:18:44 +00:00
|
|
|
clap = { version = "4.5.38", features = ["derive"] }
|
2025-05-12 14:36:09 +00:00
|
|
|
clap_complete = "4.5.50"
|
2025-03-10 16:44:36 +00:00
|
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
2025-05-16 22:15:32 +01:00
|
|
|
serde_json = "1.0.140"
|