url-select: nicer splitting of urlLauncher value
This commit is contained in:
parent
e1141ccb01
commit
ef4343a85c
@ -38,7 +38,7 @@ sub on_start {
|
|||||||
|
|
||||||
# read resource settings
|
# read resource settings
|
||||||
if ($self->x_resource('urlLauncher')) {
|
if ($self->x_resource('urlLauncher')) {
|
||||||
@{$self->{browser}} = split " ", $self->x_resource('urlLauncher');
|
@{$self->{browser}} = split /\s+/, $self->x_resource('urlLauncher');
|
||||||
} else {
|
} else {
|
||||||
@{$self->{browser}} = ('x-www-browser');
|
@{$self->{browser}} = ('x-www-browser');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user