Skip to content

Commit

Permalink
Enable "long names"
Browse files Browse the repository at this point in the history
Names now can contain spaces.

Changed keyword to 'l' to stop accidentally triggering add or edit.
  • Loading branch information
skeletonkey committed Dec 21, 2022
1 parent 40da1f9 commit f8d5e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion LinkOpener.pm
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ sub save_data {
}

sub add_url {
my ($url, $name) = @_;
my $url = shift;
my $name = join(" ", @_);
$name ||= '';
open(my $fh, '>>', $link_data) || die("Unable to open file ($link_data) for append: $!\n");
# extra \n incase someone removed the last empty line
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<key>escaping</key>
<integer>102</integer>
<key>keyword</key>
<string>link</string>
<string>l</string>
<key>queuedelaycustom</key>
<integer>3</integer>
<key>queuedelayimmediatelyinitially</key>
Expand Down

0 comments on commit f8d5e02

Please sign in to comment.