script/tracker_gtk_trayicon.pl untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use 5.010;
3 use strict;
4 use warnings;
5  
6 # ABSTRACT: run App::TimeTracker::Gtk2TrayIcon
7 # PODNAME: tracker_gtk_trayicon.pl
8  
9 use App::TimeTracker::Gtk2TrayIcon;
10 App::TimeTracker::Gtk2TrayIcon->init('run');
11  
12  
13  
14 =pod
15  
16 =head1 NAME
17  
18 tracker_gtk_trayicon.pl - run App::TimeTracker::Gtk2TrayIcon
19  
20 =head1 VERSION
21  
22 version 1.002
23  
24 =head1 SYNOPSIS
25  
26 ~$ tracker_gtk_trayicon.pl &
27  
28 =head1 DESCRIPTION
29  
30 Adds a small app to your system tray that shows your working status as
31 reported by C<App::TimeTracker>.
32  
33 A green light is shown if you're working, a red light if your idling.
34 If you hover your mouse over the icon, the project (and tags) you're
35 currently working on will be displayed.
36  
37 This script currently neither forks nor puts itself into the
38 background. The best way (IMO) to start it is via a line in your
39 F<.xinitrc> (or whatever system your window manager uses to
40 automatically startup apps).
41  
42 =head1 OPTIONS AND CONFIGURATION
43  
44 Currently none.
45  
46 =head1 SEE ALSO
47  
48 L<App::TimeTracker>
49  
50 =head1 AUTHOR
51  
52 Thomas Klausner <domm@cpan.org>
53  
54 =head1 COPYRIGHT AND LICENSE
55  
56 This software is copyright (c) 2011 by Thomas Klausner.
57  
58 This is free software; you can redistribute it and/or modify it under
59 the same terms as the Perl 5 programming language system itself.
60  
61 =cut
62  
63  
64 __END__