GNOME Bugzilla – Bug 664648
hamster-cli should have a command to show current activity
Last modified: 2012-09-24 19:14:34 UTC
Created attachment 202005 [details] [review] List current activity from hamster-cli The CLI client should have a command that outputs current activity and its duration if any. This is useful to me for integrating hamster in xfce-panel using a generic monitor. This could be useful to other people using XFCE or any alternative panel (dzen, xmobar, whatever). The attached patch adds a new "list-current" command that shows current activity and its duration if any; otherwise, it prints "No activity".
will check the patch. but regards the approach - i'd strongly suggest using dbus instead of relying on command line output
moved: https://github.com/projecthamster/hamster/issues/21