From c718abaa7f15c735263cccd4acea1b54e3aa02dc Mon Sep 17 00:00:00 2001 From: Chris Cochrun <chris@tfcconnection.org> Date: Sat, 7 Nov 2020 14:52:30 -0600 Subject: [PATCH] let's make rofi work without needing two styles. --- rofi/config.rasi | 1 + rofi/launchers-git/launcher.sh | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/rofi/config.rasi b/rofi/config.rasi index e89fedd..9b46dc1 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -3,5 +3,6 @@ configuration { show-icons: true; icon-theme: "Papirus"; + dpi: 0; } @import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi" diff --git a/rofi/launchers-git/launcher.sh b/rofi/launchers-git/launcher.sh index cff3cfa..406ccb3 100755 --- a/rofi/launchers-git/launcher.sh +++ b/rofi/launchers-git/launcher.sh @@ -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