File: urlgrab.pl.diff

package info (click to toggle)
irssi-scripts 20160301
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,624 kB
  • ctags: 2,564
  • sloc: perl: 61,025; sh: 184; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 350 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: ""
Forwarded: no
Author: ""
Last-Update: 2016-02-29
--- a/scripts/urlgrab.pl
+++ b/scripts/urlgrab.pl
@@ -34,7 +34,7 @@ sub url_cmd{
 	  Irssi::print("No url captured yet");
 	  return;
    }
-   system("netscape-remote -remote 'openURL($lasturl)' &>/dev/null");
+   system("sensible-browser $lasturl &>/dev/null");
 }
 
 sub find_url {