56 lines
1.1 KiB
QML
56 lines
1.1 KiB
QML
import QtQuick
|
|
import Quickshell
|
|
import "../../config"
|
|
|
|
ShellRoot {
|
|
WLogout {
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/lock.sh"
|
|
keybind: Qt.Key_L
|
|
text: "Lock"
|
|
icon: "lock"
|
|
icon_text: ""
|
|
}
|
|
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/logout.sh"
|
|
keybind: Qt.Key_E
|
|
text: "Logout"
|
|
icon: "logout"
|
|
icon_text: ""
|
|
}
|
|
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/suspend.sh"
|
|
keybind: Qt.Key_U
|
|
text: "Suspend"
|
|
icon: "suspend"
|
|
icon_text: ""
|
|
}
|
|
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/hibernate.sh"
|
|
keybind: Qt.Key_H
|
|
text: "Hibernate"
|
|
icon: "hibernate"
|
|
icon_text: ""
|
|
}
|
|
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/shutdown.sh"
|
|
keybind: Qt.Key_K
|
|
text: "Shutdown"
|
|
icon: "shutdown"
|
|
icon_text: "⏻"
|
|
}
|
|
|
|
LogoutButton {
|
|
command: Config.configDir + "/modules/wlogout/scripts/reboot.sh"
|
|
keybind: Qt.Key_R
|
|
text: "Reboot"
|
|
icon: "reboot"
|
|
icon_text: " "
|
|
}
|
|
}
|
|
}
|