feature: hide notifications count when 0 (#338)

* fix: hide notifications count when 0

* feat: add settings to control earlier behavious

* fix: lints and formatting

* Update widget/settings/pages/config/bar/index.ts

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* fix: notifications css

* Update modules/bar/notifications/index.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Rubin Bhandari
2024-10-21 14:34:25 +05:45
committed by GitHub
parent c265697adc
commit 604f737182
4 changed files with 23 additions and 3 deletions

View File

@@ -942,6 +942,7 @@ const options = mkOptions(OPTIONS, {
},
notifications: {
show_total: opt(false),
hideCountWhenZero: opt(false),
rightClick: opt(''),
middleClick: opt(''),
scrollUp: opt(''),