// Shared open state for the waffle app launcher. The launcher is mounted once
// in the default layout; the topbar trigger opens it.

const open = ref(false)

export const useAppLauncher = () => ({
  open,
  toggle: () => {
    open.value = !open.value
  },
  show: () => {
    open.value = true
  },
  hide: () => {
    open.value = false
  },
})
