Files
quickshell/modules/wlogout/Wlogout.qml
T
2026-05-31 14:18:35 +02:00

55 lines
877 B
QML

import QtQuick
import Quickshell
ShellRoot {
WLogout {
LogoutButton {
command: "loginctl lock-session"
keybind: Qt.Key_L
text: "Lock"
icon: "lock"
icon_text: ""
}
LogoutButton {
command: "loginctl terminate-user $USER"
keybind: Qt.Key_E
text: "Logout"
icon: "logout"
icon_text: "󰗽"
}
LogoutButton {
command: "systemctl suspend"
keybind: Qt.Key_U
text: "Suspend"
icon: "suspend"
icon_text: ""
}
LogoutButton {
command: "systemctl hibernate"
keybind: Qt.Key_H
text: "Hibernate"
icon: "hibernate"
icon_text: "󰰂"
}
LogoutButton {
command: "systemctl poweroff"
keybind: Qt.Key_K
text: "Shutdown"
icon: "shutdown"
icon_text: "⏻"
}
LogoutButton {
command: "systemctl reboot"
keybind: Qt.Key_R
text: "Reboot"
icon: "reboot"
icon_text: "󰜉 "
}
}
}