Notifications n shi
This commit is contained in:
12
TopBar.qml
12
TopBar.qml
@@ -17,8 +17,8 @@ PanelWindow {
|
||||
property var font: {family: "0xProto Nerd Font"}
|
||||
|
||||
implicitWidth: 1024
|
||||
implicitHeight: 200
|
||||
WlrLayershell.keyboardFocus: (up && !shortcut.pressed) ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
|
||||
implicitHeight: 400
|
||||
WlrLayershell.keyboardFocus: (up && !background.exit.running && !shortcut.pressed && background.index <= 1) ? WlrKeyboardFocus.Exclusive : WlrKeyboardFocus.None
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
color: "transparent"
|
||||
@@ -39,6 +39,7 @@ PanelWindow {
|
||||
name: "topbar"
|
||||
description: "Hold to peek, tap to toggle topbar"
|
||||
onPressed: {
|
||||
background.index = 0
|
||||
root.open()
|
||||
}
|
||||
onReleased: {
|
||||
@@ -147,13 +148,14 @@ PanelWindow {
|
||||
onStarted: entry.stop()
|
||||
}
|
||||
}
|
||||
Pane { opacity: 1; Panes.Status { }}
|
||||
Pane { opacity: 1; Panes.Status {} }
|
||||
Pane { Panes.Launcher {
|
||||
id: launcher
|
||||
onShowChanged: if (show) background.index = 1; else background.index = 0
|
||||
}}
|
||||
Pane { Panes.Battery {
|
||||
}}
|
||||
Pane { Panes.Battery {} }
|
||||
Pane { Panes.NotificationCenter {} }
|
||||
Pane { Panes.Notifications {} }
|
||||
|
||||
property var entry: SequentialAnimation {
|
||||
PauseAnimation {duration: 2}
|
||||
|
||||
Reference in New Issue
Block a user