Fix to QS complaining about a name

This commit is contained in:
Gualidan
2026-02-14 15:32:26 +01:00
parent 647fac7937
commit 8072bc68ac
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ SmartPanel {
"title": I18n.tr("common.reboot"),
"isShutdown": false
},
"reboot-to-uefi": {
"reboot_to_uefi": {
"icon": "reboot",
"title": I18n.tr("common.reboot-to-uefi"),
"isShutdown": false
+3 -3
View File
@@ -488,12 +488,12 @@ Singleton {
});
}
function reboot-to-uefi() {
function reboot_to_uefi() {
Logger.i("Compositor", "Reboot to UEFI firmware requested requested");
if (executeSessionAction("reboot-to-uefi"))
if (executeSessionAction("reboot_to_uefi"))
return;
HooksService.executeSessionHook("reboot-to-uefi", () => {
HooksService.executeSessionHook("reboot_to_uefi", () => {
Quickshell.execDetached(["sh", "-c", "systemctl reboot --firmware-setup"]);
});
}