forked from Shinonome/dots-hyprland
notif action button hover cursor -> pointing hand
This commit is contained in:
@@ -183,17 +183,19 @@ export default ({
|
|||||||
hexpand: true,
|
hexpand: true,
|
||||||
className: `notif-action notif-action-${notifObject.urgency}`,
|
className: `notif-action notif-action-${notifObject.urgency}`,
|
||||||
onClicked: () => destroyWithAnims(),
|
onClicked: () => destroyWithAnims(),
|
||||||
|
setup: setupCursorHover,
|
||||||
child: Label({
|
child: Label({
|
||||||
label: 'Close',
|
label: 'Close',
|
||||||
})
|
}),
|
||||||
}),
|
}),
|
||||||
...notifObject.actions.map(action => Widget.Button({
|
...notifObject.actions.map(action => Widget.Button({
|
||||||
hexpand: true,
|
hexpand: true,
|
||||||
className: `notif-action notif-action-${notifObject.urgency}`,
|
className: `notif-action notif-action-${notifObject.urgency}`,
|
||||||
onClicked: () => notifObject.invoke(action.id),
|
onClicked: () => notifObject.invoke(action.id),
|
||||||
|
setup: setupCursorHover,
|
||||||
child: Label({
|
child: Label({
|
||||||
label: action.label,
|
label: action.label,
|
||||||
})
|
}),
|
||||||
}))
|
}))
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user