Browse Source

stdin2qrcode

master
parent
commit
ca75999073
2 changed files with 12 additions and 0 deletions
  1. +3
    -0
      files/stdin2qrcode.fish
  2. +9
    -0
      tasks/main.yaml

+ 3
- 0
files/stdin2qrcode.fish View File

@@ -0,0 +1,3 @@
function stdin2qrcode
qrencode -o - -lH -s 8 | xloadimage -fit -title stdin2qrcode stdin
end

+ 9
- 0
tasks/main.yaml View File

@@ -16,6 +16,10 @@
- secure-delete
- python-pip # needed by jmespath-terminal

# stdin2barcodewindow dependencies
- qrencode
- xloadimage

- name: jpath - JMESPath exploration tool in the terminal
pip:
name: jmespath-terminal
@@ -46,3 +50,8 @@
copy:
src: pam_env.conf
dest: /etc/security/pam_env.conf

- name: stdin2qrcode
copy:
src: stdin2qrcode.fish
dest: /etc/fish/functions/stdin2qrcode.fish