let's make rofi work without needing two styles.

This commit is contained in:
Chris Cochrun 2020-11-07 14:52:30 -06:00
parent 7853465f84
commit c718abaa7f
2 changed files with 10 additions and 7 deletions

View file

@ -3,5 +3,6 @@
configuration {
show-icons: true;
icon-theme: "Papirus";
dpi: 0;
}
@import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi"

View file

@ -13,12 +13,14 @@
# row row_center screen row_dock row_dropdown
if [ $(hostname) = "chris-linuxlaptop" ]; then
style="blurry-hidpi"
#echo "this is hidpi"
else
style="blurry"
#echo "this is not hidpi"
fi
# if [ $(hostname) = "chris-linuxlaptop" ]; then
# style="blurry-hidpi"
# #echo "this is hidpi"
# else
# style="blurry"
# #echo "this is not hidpi"
# fi
style="blurry"
rofi -no-lazy-grab -show drun -modi drun,window,calc,ssh,run,emoji -theme launchers-git/"$style".rasi