root/trunk/plagger/lib/Plagger/Plugin/Notify/OpenBrowser/linux.pm
| Revision 1728 (checked in by miyagawa, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | package Plagger::Plugin::Notify::OpenBrowser::linux; |
| 2 | use base qw( Plagger::Plugin::Notify::OpenBrowser ); |
| 3 | |
| 4 | use strict; |
| 5 | |
| 6 | sub open { |
| 7 | my ($self, $link) = @_; |
| 8 | !system 'firefox', '-new-tab', $link |
| 9 | or $self->log(error => "Can't exec firefox: $?"); |
| 10 | } |
| 11 | |
| 12 | 1; |
Note: See TracBrowser for help on using the browser.
