12 lines
190 B
Plaintext
12 lines
190 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Generate QR code from text. Useful for crypto wallet addresses.
|
||
|
|
||
|
m() { rofi -dmenu -p "QR" -i ;}
|
||
|
|
||
|
input="$(m)"
|
||
|
|
||
|
qrencode "$input" -o /tmp/qr -s 7 && sxiv -b /tmp/qr
|
||
|
|
||
|
rm /tmp/qr
|