update: font size=16 for alacritty

This commit is contained in:
Yingjie Wang 2024-05-17 02:09:53 -04:00
parent a0f43ada10
commit 08096e83ff

View File

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