forked from Shinonome/dots-hyprland
rename element with wrong name
This commit is contained in:
@@ -11,11 +11,11 @@ import { Tray } from "./tray.js";
|
|||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
const barTray = Tray();
|
const barTray = Tray();
|
||||||
const notifCounter = Widget.Revealer({
|
const separatorDot = Widget.Revealer({
|
||||||
transition: 'slide_left',
|
transition: 'slide_left',
|
||||||
revealChild: false,
|
revealChild: false,
|
||||||
attribute: {
|
attribute: {
|
||||||
'count': 0,
|
'count': SystemTray.items.length,
|
||||||
'update': (self, diff) => {
|
'update': (self, diff) => {
|
||||||
self.attribute.count += diff;
|
self.attribute.count += diff;
|
||||||
self.revealChild = (self.attribute.count > 0);
|
self.revealChild = (self.attribute.count > 0);
|
||||||
@@ -48,7 +48,7 @@ export default () => {
|
|||||||
children: [
|
children: [
|
||||||
Widget.Box({ hexpand: true, }),
|
Widget.Box({ hexpand: true, }),
|
||||||
barTray,
|
barTray,
|
||||||
notifCounter,
|
separatorDot,
|
||||||
barStatusIcons,
|
barStatusIcons,
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user