Fixes a OSD bug when un-/muting and adds a toggle to display volume as 0 when muting (#151)

* added muted_zero option to only display 0 volume in osd when enabled

* Fix OSD brightness persisting overflow class

* Update modules/osd/bar/index.ts

* Apply suggestions from code review

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
painerp
2024-08-20 05:57:23 +02:00
committed by GitHub
parent 6bb71eadf5
commit 1e6f1570b1
4 changed files with 24 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ const options = mkOptions(OPTIONS, {
radius: opt("0.4em"),
margins: opt("0px 5px 0px 0px"),
location: opt<OSDAnchor>("right"),
muted_zero: opt(false),
},
bar: {
scaling: opt(100),