mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Fix to QS complaining about a name
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"]);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user