mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
17 lines
498 B
QML
17 lines
498 B
QML
import QtQuick.Layouts
|
|
import Quickshell
|
|
import qs.Commons
|
|
import qs.Services.System
|
|
import qs.Services.UI
|
|
import qs.Widgets
|
|
|
|
NIconButtonHot {
|
|
property ShellScreen screen
|
|
|
|
icon: NotificationService.doNotDisturb ? "bell-off" : "bell"
|
|
hot: NotificationService.doNotDisturb
|
|
tooltipText: I18n.tr("common.notifications")
|
|
onClicked: PanelService.getPanel("notificationHistoryPanel", screen)?.toggle(this)
|
|
onRightClicked: NotificationService.doNotDisturb = !NotificationService.doNotDisturb
|
|
}
|