import Quickshell import Quickshell.Io import QtQuick import qs import qs.settings import qs.widgets Item { id: root property string focusedTitle: "" property int activeTag: 0 Process { id: getMangoTags running: true command: ["bash", "-c", "mmsg watch all-tags | while read line; do echo $line | jq > /tmp/mango-tags.json; done"] } Process { id: getMangoTitle running: true command: ["bash", "-c", "mmsg watch focusing-client | while read line; do echo $line | jq > /tmp/mango-active-window.json; done"] } FileView { id: activeWindowView path: "/tmp/mango-active-window.json" adapter: JsonAdapter { id: activeWindowAdapter property int id } } }