pragma Singleton import QtQuick QtObject { property bool launcherOpen: false property string activeApplication: "Desktop" function openLauncher() { launcherOpen = true } function closeLauncher() { launcherOpen = false } function toggleLauncher() { launcherOpen = !launcherOpen } function launch(name) { activeApplication = name closeLauncher() } }