mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-06 21:01:02 +02:00
feat(music): option to hide status icon on widget
Adds new `show_status_icon` option. Resolves #97.
This commit is contained in:
parent
dc16b1e15a
commit
76e2b7ba3e
3 changed files with 13 additions and 3 deletions
|
@ -88,6 +88,9 @@ pub struct MusicModule {
|
|||
#[serde(default = "default_music_dir")]
|
||||
pub(crate) music_dir: PathBuf,
|
||||
|
||||
#[serde(default = "crate::config::default_true")]
|
||||
pub(crate) show_status_icon: bool,
|
||||
|
||||
#[serde(default = "default_icon_size")]
|
||||
pub(crate) icon_size: i32,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue