Skip to content

Commit 9838d79

Browse files
committed
all: update type names for quickshell revision
1 parent 9437c6a commit 9838d79

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

activate_linux/shell.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ShellRoot {
3131

3232
// Use the wlroots specific layer property to ensure it displays over
3333
// fullscreen windows.
34-
WlrLayershell.layer: Layer.Overlay
34+
WlrLayershell.layer: WlrLayer.Overlay
3535

3636
ColumnLayout {
3737
id: content

lockscreen/shell.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ ShellRoot {
99
onUnlocked: lock.locked = false
1010
}
1111

12-
SessionLock {
12+
WlSessionLock {
1313
id: lock
1414
locked: true
1515

1616
onLockedChanged: {
1717
if (!locked) Qt.quit();
1818
}
1919

20-
SessionLockSurface {
20+
WlSessionLockSurface {
2121
// You probably want to replace this with an image.
2222
color: "#303030"
2323

File renamed without changes.

wlogout/WLogout.qml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Variants {
99
property color backgroundColor: "#e60c0c0c"
1010
property color buttonColor: "#1e1e1e"
1111
property color buttonHoverColor: "#3700b3"
12-
default property list<WlButton> buttons
12+
default property list<LogoutButton> buttons
1313

1414
variants: Quickshell.screens.map(screen => ({ screen }))
1515
PanelWindow {
1616
id: w
1717

1818
exclusionMode: ExclusionMode.Ignore
19-
WlrLayershell.layer: Layer.Overlay
20-
WlrLayershell.keyboardFocus: KeyboardFocus.Exclusive
19+
WlrLayershell.layer: WlrLayer.Overlay
20+
WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive
2121

2222
color: "transparent"
2323

@@ -62,7 +62,7 @@ Variants {
6262
Repeater {
6363
model: buttons
6464
delegate: Rectangle {
65-
required property WlButton modelData;
65+
required property LogoutButton modelData;
6666

6767
Layout.fillWidth: true
6868
Layout.fillHeight: true

wlogout/shell.qml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,42 @@ import Quickshell
33

44
ShellRoot {
55
WLogout {
6-
WlButton {
6+
LogoutButton {
77
command: "loginctl lock-screen"
88
keybind: Qt.Key_K
99
text: "Lock"
1010
icon: "lock"
1111
}
1212

13-
WlButton {
13+
LogoutButton {
1414
command: "loginctl terminate-user $USER"
1515
keybind: Qt.Key_E
1616
text: "Logout"
1717
icon: "logout"
1818
}
1919

20-
WlButton {
20+
LogoutButton {
2121
command: "systemctl suspend"
2222
keybind: Qt.Key_U
2323
text: "Suspend"
2424
icon: "suspend"
2525
}
2626

27-
WlButton {
27+
LogoutButton {
2828
command: "systemctl hibernate"
2929
keybind: Qt.Key_H
3030
text: "Hibernate"
3131
icon: "hibernate"
3232
}
3333

34-
WlButton {
34+
LogoutButton {
3535
command: "systemctl poweroff"
3636
keybind: Qt.Key_K
3737
text: "Shutdown"
3838
icon: "shutdown"
3939
}
4040

41-
WlButton {
41+
LogoutButton {
4242
command: "systemctl reboot"
4343
keybind: Qt.Key_R
4444
text: "Reboot"

0 commit comments

Comments
 (0)