Re: DBus interface for state of Reading mode?
Mirosław Zalewski <[email protected]> Fri, 3 Aug 2012 01:41:41 +0200
| Newsgroups | gmane.comp.misc.workrave.user |
|---|---|
| Message-ID | <[email protected]> |
On 02/08/2012 at 10:34, Rob Caelers <[email protected]> wrote: > for now you could use the > the GetInt method of org.workrave.ConfigInterface to read the value of the > "general/usage-mode" settings. 0 = normal, 1 = reading. Thanks for your reply. I did as you said and everything is working just fine. And by the way - that script that I talked about is really basic interface to WorkRave for KDE. It just shows window with predefined actions and gives user to quickly run them. Basically all these actions may be called from tray icon context menu, but mine is always hidden and it is more comfortable for me to write such a script and call it with global shortcut when needed. Feel free to incorporate it in next release of WorkRave or whatever you might want to do with it. Script URL: <https://github.com/Minio/scripts/blob/master/workrave-kde.sh> -- Best regards Mirosław Zalewski ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Workrave-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/workrave-user