Compare commits

...

8 Commits

2 changed files with 8 additions and 9 deletions

View File

@ -7,12 +7,11 @@ echo -e "${GREEN}"
figlet "hidpi" figlet "hidpi"
echo -e "${NONE}" echo -e "${NONE}"
if [! -d ~/dotfiles ]; then 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 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml
sed -E 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml sed -i 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi
sed -E 's/[0-9]+(\.[0-9]+)?/16/' .settings/rofi-font.rasi echo -e '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf
echo '\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> hypr/conf/custom.conf sed -i 's/1/2/' hypr/conf/monitors/default.conf
sed -E 's/1/2' hypr/conf/monitors/default.conf echo ":: finished hidpi patch."
fi fi

View File

@ -1,5 +1,5 @@
[font] [font]
size = 12.0 size = 16.0
[font.normal] [font.normal]
family = "FiraCode Nerd Font" family = "FiraCode Nerd Font"