fix hidpi.sh: echo -e

This commit is contained in:
Yingjie Wang 2024-03-28 03:21:44 -04:00
parent e6a80c8ad2
commit 2b1986edad

View File

@ -11,7 +11,7 @@ hidpiconfirm="Do you want 2x hidpi scale?"
if gum confirm "$hidpiconfirm"; then
sed -i 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml
sed -i 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi
echo '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf
echo -e '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf
sed -i 's/1/2/' hypr/conf/monitors/default.conf
echo ":: finished hidpi patch."
fi