1
0
Fork 0

all: update type names for quickshell revision

This commit is contained in:
outfoxxed 2024-03-11 06:01:19 -07:00
parent 9437c6a840
commit 9838d79724
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
5 changed files with 13 additions and 13 deletions

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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"