File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -416,23 +416,20 @@ PanelWindow {
416416 // Check if terminal app - handle boolean or string "true"/"false"
417417 const isTerminal = metadata .terminal === true || metadata .terminal === " true"
418418
419- let execCmd
420419 if (isTerminal) {
421420 // Terminal apps: launch with ghostty
422- execCmd = " ghostty -e " + desktopId
421+ appLaunchProcess . command = [ " ghostty" , " -e " , desktopId]
423422 } else {
424423 // GUI apps: use gtk-launch with desktop_id
425- execCmd = " gtk-launch " + desktopId
424+ appLaunchProcess . command = [ " gtk-launch" , desktopId]
426425 }
427-
428- appLaunchProcess .command = [" hyprctl" , " dispatch" , " exec" , execCmd]
429426 appLaunchProcess .running = true
430427
431428 Root .GlobalStates .sidebarLeftOpen = false
432429 searchInput .text = " "
433430 }
434431
435- // App launcher process - uses hyprctl to inherit compositor environment
432+ // App launcher process
436433 Process {
437434 id: appLaunchProcess
438435 command: [" true" ]
You can’t perform that action at this time.
0 commit comments