diff --git a/.install/hidpi.sh b/.install/hidpi.sh index dd98bc3..9d72f6e 100644 --- a/.install/hidpi.sh +++ b/.install/hidpi.sh @@ -7,13 +7,10 @@ echo -e "${GREEN}" figlet "hidpi" echo -e "${NONE}" -if [! -d ~/dotfiles ]; then - hidpiconfirm="Do you want 2x hidpi scale?" - if gum confirm "$hidpiconfirm"; then - sed -E 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml - sed -E 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi - echo '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf - sed -E 's/1/2' hypr/conf/monitors/default.conf - fi +hidpiconfirm="Do you want 2x hidpi scale?" +if gum confirm "$hidpiconfirm"; then + sed -E 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml + sed -E 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi + echo '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf + sed -E 's/1/2' hypr/conf/monitors/default.conf fi -