This commit is contained in:
Hannes
2026-06-14 00:49:24 +02:00
parent 5c91cec113
commit 6ab83915a1
35 changed files with 550 additions and 486 deletions
+7 -6
View File
@@ -1,10 +1,11 @@
import QtQuick
import Quickshell
import "../../config"
ShellRoot {
WLogout {
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/lock.sh"
command: Config.configDir + "/modules/wlogout/scripts/lock.sh"
keybind: Qt.Key_L
text: "Lock"
icon: "lock"
@@ -12,7 +13,7 @@ ShellRoot {
}
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/logout.sh"
command: Config.configDir + "/modules/wlogout/scripts/logout.sh"
keybind: Qt.Key_E
text: "Logout"
icon: "logout"
@@ -20,7 +21,7 @@ ShellRoot {
}
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/suspend.sh"
command: Config.configDir + "/modules/wlogout/scripts/suspend.sh"
keybind: Qt.Key_U
text: "Suspend"
icon: "suspend"
@@ -28,7 +29,7 @@ ShellRoot {
}
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/hibernate.sh"
command: Config.configDir + "/modules/wlogout/scripts/hibernate.sh"
keybind: Qt.Key_H
text: "Hibernate"
icon: "hibernate"
@@ -36,7 +37,7 @@ ShellRoot {
}
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/shutdown.sh"
command: Config.configDir + "/modules/wlogout/scripts/shutdown.sh"
keybind: Qt.Key_K
text: "Shutdown"
icon: "shutdown"
@@ -44,7 +45,7 @@ ShellRoot {
}
LogoutButton {
command: Quickshell.env("HOME") + "/.config/quickshell/modules/wlogout/scripts/reboot.sh"
command: Config.configDir + "/modules/wlogout/scripts/reboot.sh"
keybind: Qt.Key_R
text: "Reboot"
icon: "reboot"