From 7555018a956a109acae129fd1541b30e2b1de3dd Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Sat, 17 Feb 2024 11:30:17 +0700 Subject: [PATCH] rename element with wrong name --- .config/ags/widgets/bar/spaceright.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/ags/widgets/bar/spaceright.js b/.config/ags/widgets/bar/spaceright.js index dd69557f0..2c5c9bdee 100644 --- a/.config/ags/widgets/bar/spaceright.js +++ b/.config/ags/widgets/bar/spaceright.js @@ -11,11 +11,11 @@ import { Tray } from "./tray.js"; export default () => { const barTray = Tray(); - const notifCounter = Widget.Revealer({ + const separatorDot = Widget.Revealer({ transition: 'slide_left', revealChild: false, attribute: { - 'count': 0, + 'count': SystemTray.items.length, 'update': (self, diff) => { self.attribute.count += diff; self.revealChild = (self.attribute.count > 0); @@ -48,7 +48,7 @@ export default () => { children: [ Widget.Box({ hexpand: true, }), barTray, - notifCounter, + separatorDot, barStatusIcons, ], }),