mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-08 15:27:28 +00:00
- Hot reload is working again. - Should also be more memory efficient on multi monitors.
25 lines
570 B
QML
25 lines
570 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Controls
|
|
import Quickshell
|
|
import Quickshell.Wayland
|
|
import qs.Commons
|
|
import qs.Services
|
|
import qs.Widgets
|
|
|
|
NIconButton {
|
|
id: root
|
|
|
|
property ShellScreen screen
|
|
property real scaling: ScalingService.scale(screen)
|
|
|
|
sizeMultiplier: 0.8
|
|
icon: "notifications"
|
|
tooltipText: "Notification History"
|
|
colorBg: Color.mSurfaceVariant
|
|
colorFg: Color.mOnSurface
|
|
colorBorder: Color.transparent
|
|
colorBorderHover: Color.transparent
|
|
onClicked: PanelService.getPanel("notificationHistoryPanel")?.toggle(screen)
|
|
}
|