feat: on hover only show actions if available on notifications (#396)

* feat: on hover only show actions if available on notifications

* feat: on hover only show actions if available on notifications

* fix: make the change configurable

* fix: remove unneeded op
This commit is contained in:
Rubin Bhandari
2024-11-05 12:32:26 +05:45
committed by GitHub
parent b5e91fa2dc
commit b88644833d
4 changed files with 77 additions and 27 deletions

View File

@@ -39,6 +39,12 @@ export const NotificationSettings = (): Scrollable<Child, Attribute> => {
subtitle: 'The ID of the monitor on which to display the notification',
type: 'number',
}),
Option({
opt: options.notifications.showActionsOnHover,
title: 'Show Actions only on Hover',
subtitle: 'Show the action buttons only when hovering over a notification',
type: 'boolean',
}),
Option({
opt: options.notifications.active_monitor,
title: 'Follow Cursor',