From e3cd3043fbf19a0e2e64c0a0d69b4aec4c93657d Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Thu, 31 Jan 2019 12:59:39 +0100 Subject: Update name of launcher resource as of urxvt 9.16 --- README | 4 ++-- url-picker | 2 +- 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} = (); -- cgit v1.2.3