Compare commits

..

No commits in common. "d2a368d166efbc944396e0a3581c35a9225151ea" and "943cb53c93015f5e290199aab3c639393498764d" have entirely different histories.

View File

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