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

build: add feature flags for custom, label, script modules

This commit is contained in:
Jake Stanger 2025-03-24 22:11:24 +00:00
parent 3320cf27b2
commit 15177d707e
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
4 changed files with 31 additions and 1 deletions

View file

@ -15,14 +15,17 @@ default = [
"clipboard",
"clock",
"config+all",
"custom",
"focused",
"http",
"ipc",
"keyboard+all",
"launcher",
"label",
"music+all",
"network_manager",
"notifications",
"script",
"sys_info",
"tray",
"upower",
@ -54,6 +57,8 @@ clipboard = ["dep:nix"]
clock = ["chrono"]
custom = []
focused = []
keyboard = ["dep:input", "dep:evdev-rs", "dep:libc", "dep:nix"]
@ -61,6 +66,8 @@ keyboard = ["dep:input", "dep:evdev-rs", "dep:libc", "dep:nix"]
"keyboard+sway" = ["keyboard", "sway"]
"keyboard+hyprland" = ["keyboard", "hyprland"]
label = []
launcher = []
music = ["dep:regex"]
@ -72,6 +79,8 @@ network_manager = ["futures-lite", "futures-signals", "zbus"]
notifications = ["zbus"]
script = []
sys_info = ["dep:sysinfo"]
tray = ["system-tray"]