refactor(binto ags bar): add main css class

This commit is contained in:
matt1432 2023-11-30 15:17:57 -05:00
parent d48403d9c8
commit 6b1415d54b
3 changed files with 21 additions and 15 deletions

View file

@ -19,10 +19,12 @@ export default () => Window({
vertical: true,
children: [
CenterBox({
className: 'bar',
start_widget: Box({
hpack: 'start',
children: [
Separator(PADDING),
SysTray(),
],
}),
@ -35,7 +37,9 @@ export default () => Window({
hpack: 'end',
children: [
NotifButton(),
Separator(PADDING/2),
Clock(),
Separator(PADDING),
],
}),

View file

@ -19,7 +19,7 @@ export const NotifPopups = () => PopupWindow({
export const NotifCenter = () => PopupWindow({
name: 'notification-center',
anchor: ['bottom', 'right'],
margins: [0, 169, 0, 0],
margins: [0, 187, 0, 0],
transition: 'slide_up',
monitor: 1,

View file

@ -1,5 +1,6 @@
.bar {
.clock, .notif-panel {
padding: 2.5px 5px;
padding: 4.5px 7px;
background-color: $bgfull;
}
@ -19,3 +20,4 @@
}
}
}
}