aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.example7
-rwxr-xr-xrofi-pass2
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)
diff --git a/rofi-pass b/rofi-pass
index c334faf..8512a54 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -10,7 +10,7 @@ _rofi () {
}
_image_viewer () {
- sxiv -
+ feh -
}
# We expect to find these fields in pass(1)'s output