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 { configuration {
show-icons: true; show-icons: true;
icon-theme: "Papirus"; icon-theme: "Papirus";
dpi: 0;
} }
@import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi" @import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi"

View file

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