mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
build: add feature flags for custom
, label
, script
modules
This commit is contained in:
parent
3320cf27b2
commit
15177d707e
4 changed files with 31 additions and 1 deletions
|
@ -29,11 +29,15 @@ pub mod clipboard;
|
|||
/// with second-level precision and a calendar.
|
||||
#[cfg(feature = "clock")]
|
||||
pub mod clock;
|
||||
|
||||
#[cfg(feature = "custom")]
|
||||
pub mod custom;
|
||||
#[cfg(feature = "focused")]
|
||||
pub mod focused;
|
||||
#[cfg(feature = "keyboard")]
|
||||
pub mod keyboard;
|
||||
|
||||
#[cfg(feature = "label")]
|
||||
pub mod label;
|
||||
#[cfg(feature = "launcher")]
|
||||
pub mod launcher;
|
||||
|
@ -43,6 +47,8 @@ pub mod music;
|
|||
pub mod networkmanager;
|
||||
#[cfg(feature = "notifications")]
|
||||
pub mod notifications;
|
||||
|
||||
#[cfg(feature = "script")]
|
||||
pub mod script;
|
||||
#[cfg(feature = "sway")]
|
||||
pub mod sway;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue