forked from Shinonome/dots-hyprland
sideright: update centermodules buttons
This commit is contained in:
@@ -129,13 +129,29 @@ export default (props) => {
|
||||
self.shown = (Bluetooth.devices.length > 0 ? 'list' : 'empty')
|
||||
}),
|
||||
})
|
||||
const bottomBar = Box({
|
||||
homogeneous: true,
|
||||
children: [Button({
|
||||
hpack: 'center',
|
||||
className: 'txt-small txt sidebar-centermodules-bottombar-button',
|
||||
onClicked: () => {
|
||||
execAsync(userOptions.apps.bluetooth).catch(print);
|
||||
closeEverything();
|
||||
},
|
||||
label: 'More',
|
||||
setup: setupCursorHover,
|
||||
})],
|
||||
setup: (self) => {
|
||||
console.log('AAAAAAAAAAAAAAAAAAa')
|
||||
},
|
||||
})
|
||||
return Box({
|
||||
...props,
|
||||
className: 'spacing-v-5',
|
||||
vertical: true,
|
||||
children: [
|
||||
mainContent,
|
||||
// status,
|
||||
bottomBar
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
@@ -67,9 +67,10 @@ export default (props) => {
|
||||
,
|
||||
});
|
||||
const ListActionButton = (icon, name, action) => Button({
|
||||
className: 'notif-listaction-btn',
|
||||
className: 'sidebar-centermodules-bottombar-button',
|
||||
onClicked: action,
|
||||
child: Box({
|
||||
hpack: 'center',
|
||||
className: 'spacing-h-5',
|
||||
children: [
|
||||
MaterialIcon(icon, 'norm'),
|
||||
|
||||
Reference in New Issue
Block a user