commit 6ba7cc0975c60ae2dea6d2c0b837bc40e500f8d7 parent 6f6f6df95a494cc41b90f448cc8efc580a7f0054 Author: Alexander Balgavy <alexander.balgavy@spaceapplications.com> Date: Fri, 27 Oct 2023 20:20:37 +0200 linkhandler: send via kdeconnect Diffstat:
M | scripts/linkhandler | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/scripts/linkhandler b/scripts/linkhandler @@ -193,6 +193,13 @@ sub menu { } }]; + push @$tableref, ['Send via KDEConnect', sub { + my ($link) = @_; + detach sub { + system(qq(kdeconnect-handler "$link")); + } + }]; + # Choose an option my @options = map { $_->[0] } @$tableref; my $choice = choose(\@options);