diff --git a/rofi/rofi-pass/config b/rofi/rofi-pass/config index 95b31b7..125a1ce 100644 --- a/rofi/rofi-pass/config +++ b/rofi/rofi-pass/config @@ -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 }