Add Audio Settings, split NotificationHistory
This commit is contained in:
parent
0babca7b56
commit
faa6bcd222
10 changed files with 555 additions and 209 deletions
29
Modules/Bar/NotificationHistory.qml
Normal file
29
Modules/Bar/NotificationHistory.qml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Controls
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
NIconButton {
|
||||
id: root
|
||||
|
||||
readonly property real scaling: Scaling.scale(screen)
|
||||
sizeMultiplier: 0.8
|
||||
showBorder: false
|
||||
icon: "notifications"
|
||||
tooltipText: "Notification History"
|
||||
onClicked: {
|
||||
if (!notificationHistoryPanelLoader.active) {
|
||||
notificationHistoryPanelLoader.isLoaded = true
|
||||
}
|
||||
if (notificationHistoryPanelLoader.item) {
|
||||
notificationHistoryPanelLoader.item.visible = !notificationHistoryPanelLoader.item.visible
|
||||
}
|
||||
}
|
||||
|
||||
NotificationHistoryPanel {
|
||||
id: notificationHistoryPanelLoader
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue