update hidpi.sh: run always

This commit is contained in:
wyj
2024-03-28 02:31:27 -04:00
parent 259073e10f
commit c63aa2430c
-3
View File
@@ -7,7 +7,6 @@ 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
@@ -15,5 +14,3 @@ if [! -d ~/dotfiles ]; then
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
fi