dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a06084b4e83500f308e9feec95219e7d8e63e8d6
parent 893128a88561aa05fdd891abcecc7864ecb2e8f2
Author: Alex Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Tue, 17 Sep 2024 10:22:32 +0200

linkhandler: create QR code

Diffstat:
Mscripts/linkhandler | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/scripts/linkhandler b/scripts/linkhandler @@ -200,6 +200,15 @@ sub menu { } }]; + + push @$tableref, ['Create QR code', sub { + my ($link) = @_; + detach sub { + system(qq(qrencode -d 300 -t png "$link" -o /tmp/qr.png)); + system(qq(nsxiv /tmp/qr.png)); + } + }]; + push @$tableref, ['Noecho News', sub { my ($link) = @_; detach sub {