all: update type names for quickshell revision
This commit is contained in:
parent
9437c6a840
commit
9838d79724
|
@ -31,7 +31,7 @@ ShellRoot {
|
|||
|
||||
// Use the wlroots specific layer property to ensure it displays over
|
||||
// fullscreen windows.
|
||||
WlrLayershell.layer: Layer.Overlay
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
|
||||
ColumnLayout {
|
||||
id: content
|
||||
|
|
|
@ -9,7 +9,7 @@ ShellRoot {
|
|||
onUnlocked: lock.locked = false
|
||||
}
|
||||
|
||||
SessionLock {
|
||||
WlSessionLock {
|
||||
id: lock
|
||||
locked: true
|
||||
|
||||
|
@ -17,7 +17,7 @@ ShellRoot {
|
|||
if (!locked) Qt.quit();
|
||||
}
|
||||
|
||||
SessionLockSurface {
|
||||
WlSessionLockSurface {
|
||||
// You probably want to replace this with an image.
|
||||
color: "#303030"
|
||||
|
||||
|
|
|
@ -9,15 +9,15 @@ Variants {
|
|||
property color backgroundColor: "#e60c0c0c"
|
||||
property color buttonColor: "#1e1e1e"
|
||||
property color buttonHoverColor: "#3700b3"
|
||||
default property list<WlButton> buttons
|
||||
default property list<LogoutButton> buttons
|
||||
|
||||
variants: Quickshell.screens.map(screen => ({ screen }))
|
||||
PanelWindow {
|
||||
id: w
|
||||
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
WlrLayershell.layer: Layer.Overlay
|
||||
WlrLayershell.keyboardFocus: KeyboardFocus.Exclusive
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
|
||||
|
||||
color: "transparent"
|
||||
|
||||
|
@ -62,7 +62,7 @@ Variants {
|
|||
Repeater {
|
||||
model: buttons
|
||||
delegate: Rectangle {
|
||||
required property WlButton modelData;
|
||||
required property LogoutButton modelData;
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
|
|
@ -3,42 +3,42 @@ import Quickshell
|
|||
|
||||
ShellRoot {
|
||||
WLogout {
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "loginctl lock-screen"
|
||||
keybind: Qt.Key_K
|
||||
text: "Lock"
|
||||
icon: "lock"
|
||||
}
|
||||
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "loginctl terminate-user $USER"
|
||||
keybind: Qt.Key_E
|
||||
text: "Logout"
|
||||
icon: "logout"
|
||||
}
|
||||
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "systemctl suspend"
|
||||
keybind: Qt.Key_U
|
||||
text: "Suspend"
|
||||
icon: "suspend"
|
||||
}
|
||||
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "systemctl hibernate"
|
||||
keybind: Qt.Key_H
|
||||
text: "Hibernate"
|
||||
icon: "hibernate"
|
||||
}
|
||||
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "systemctl poweroff"
|
||||
keybind: Qt.Key_K
|
||||
text: "Shutdown"
|
||||
icon: "shutdown"
|
||||
}
|
||||
|
||||
WlButton {
|
||||
LogoutButton {
|
||||
command: "systemctl reboot"
|
||||
keybind: Qt.Key_R
|
||||
text: "Reboot"
|
||||
|
|
Loading…
Reference in a new issue