Close launcher after delete confirmation

This commit is contained in:
David Heinemeier Hansson
2026-06-29 11:30:42 -05:00
parent e49c74eee8
commit 2cd73f39d2
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -90,6 +90,7 @@ Item {
function dismiss() {
root.deleteConfirmOpen = false
root.deleteEntry = null
root.opened = false
if (root.shell && typeof root.shell.hide === "function")
root.shell.hide((root.manifest && root.manifest.id) || "omarchy.launcher")
@@ -281,7 +282,7 @@ Item {
var desktopId = String(entry.id || "")
var name = root.entryName(entry)
var command = Util.shellQuote(root.omarchyPath + "/bin/omarchy-remove-launcher-entry") + " " + Util.shellQuote(desktopId) + " " + Util.shellQuote(name)
root.cancelDelete()
root.dismiss()
Quickshell.execDetached(Util.hyprExecCommand(command))
}