diff options
author | Rasmus Steinke <rasi@xssn.at> | 2018-03-22 18:23:50 +0100 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2018-03-22 18:23:50 +0100 |
commit | dbf4eaf1b6d75d5c89012bcd55d434ac5563a5de (patch) | |
tree | f6bc1aa16435b5a6471c3df2f1e64f72a65d3b7d | |
parent | 04e61acfe6ae6792b96f640c3f7d4d2006cf9825 (diff) | |
download | rofi-pass-dbf4eaf1b6d75d5c89012bcd55d434ac5563a5de.tar.gz |
add qrcode section to config, change default viewer
-rw-r--r-- | config.example | 7 | ||||
-rwxr-xr-x | rofi-pass | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/config.example b/config.example index 52ba160..e2c03fd 100644 --- a/config.example +++ b/config.example @@ -7,6 +7,13 @@ _rofi () { rofi -i -no-auto-select "$@" } +# image viewer to display qrcode of selected entry +# qrencode is needed to generate the image and a viewer +# that can read from pipes. Known viewers to work are feh and display +_image_viewer () { + feh - +} + # xdotool needs the keyboard layout to be set using setxkbmap # You can do this in your autostart scripts (e.g. xinitrc) @@ -10,7 +10,7 @@ _rofi () { } _image_viewer () { - sxiv - + feh - } # We expect to find these fields in pass(1)'s output |