Making rofi-pass use proper rofi and feh

This commit is contained in:
Chris Cochrun 2021-03-02 14:12:29 -06:00
parent 109ec290a8
commit 2924585a75

View file

@ -2,9 +2,17 @@
# which can be switched at runtime with shift+left/right
# root=/path/to/root
if [ $(hostname) = "chris-linuxlaptop" ]; then
style="laptop"
#echo "this is hidpi"
else
style="desktop"
#echo "this is not hidpi"
fi
# rofi command. Make sure to have "$@" as last argument
_rofi () {
rofi -i -no-auto-select "$@"
rofi -i -no-auto-select -theme launchers-git/"$style".rasi "$@"
}
# default command to generate passwords
@ -16,7 +24,7 @@ _pwgen () {
# 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 () {
sxiv -
feh -g 600x600 --zoom fill -
# display
}