#!/bin/sh
# Copyright (c) 2020, Alex Leigh

dbus-send  --print-reply=literal --dest=org.kde.kstars --print-reply /KStars/Ekos/Scheduler org.freedesktop.DBus.Properties.Get string:"org.kde.kstars.Ekos.Scheduler" string:"status" | grep int32  | awk '{print $2}'