Added wlogout

This commit is contained in:
Honney
2026-05-31 14:18:35 +02:00
parent 16f88dc617
commit 64c007ba3f
6 changed files with 242 additions and 0 deletions
+54
View File
@@ -0,0 +1,54 @@
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: "󰜉 "
}
}
}