aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2019-01-31 12:59:39 +0100
committerDaniel Lublin <daniel@lublin.se>2019-01-31 12:59:39 +0100
commite3cd3043fbf19a0e2e64c0a0d69b4aec4c93657d (patch)
tree23e177e959ae158e2c6c110538a79ddda0bb0008
parent93648f8567ba7978e2c4155c9550704048127271 (diff)
Update name of launcher resource as of urxvt 9.16
-rw-r--r--README4
-rw-r--r--url-picker2
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 8a44f9d..ddaa780 100644
--- a/README
+++ b/README
@@ -42,7 +42,7 @@ immediately operable.
If the region contains only one URL, that URL is launched to the browser.
The browser is determined by X resources url-picker.launcher if defined,
-otherwise URxvt.urlLauncher. If neither of these are defined, the
+otherwise URxvt.url-launcher. If neither of these are defined, the
'sensible-browser' is used. The URL will be passed as the first argument.
If more than one URL is available in the region, url-picker places numbered
@@ -76,7 +76,7 @@ RESOURCES
The following resources are recognized by url-picker:
-URxvt.urlLauncher Default browser
+URxvt.url-launcher Default browser
URxvt.url-picker.input.backgroundColor Bg color for numbers typed
URxvt.url-picker.input.foregroundColor Fg color for numbers typed
URxvt.url-picker.label.backgroundColor Bg color for numbered labels
diff --git a/url-picker b/url-picker
index c02bba9..0ce4838 100644
--- a/url-picker
+++ b/url-picker
@@ -204,7 +204,7 @@ sub on_start {
($self->{name} = __PACKAGE__) =~ s/.*:://;
$self->{name} =~ tr/_/-/;
$self->{launcher} = $self->my_resource("launcher") ||
- $self->x_resource("urlLauncher") ||
+ $self->x_resource("url-launcher") ||
"sensible-browser";
$self->{descending} = ($self->my_resource("order") eq "descending");
$self->{url_picker} = ();