Copy BankID links to clipboard.

This commit is contained in:
dabruh 2022-05-30 15:01:10 +02:00
parent b3921a51ea
commit 9021c475a5
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,7 @@ inode/directory=file.desktop
text/plain=text.desktop; text/plain=text.desktop;
text/x-shellscript=text.desktop; text/x-shellscript=text.desktop;
video/x-matroska=video.desktop video/x-matroska=video.desktop
x-scheme-handler/bankid=bankid.desktop;
x-scheme-handler/http=firefox.desktop x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop x-scheme-handler/https=firefox.desktop
x-scheme-handler/lbry=lbry.desktop x-scheme-handler/lbry=lbry.desktop

View File

@ -0,0 +1,4 @@
[Desktop Entry]
Type=Application
Name=BankID Clipboard
Exec=bash -c "xclip -selection clipboard <<<'%u' && notify-send BankID \"Link copied to clipboard.\" &"