Merge branch 'upstream-hidpi' into dev
This commit is contained in:
commit
0746e2ab13
@ -11,7 +11,10 @@ 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 = 16/' ~/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\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/conf/custom.conf
|
echo -e '\n# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e '# HiDPI Scaling' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e '# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e 'source = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
|
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
|
||||||
echo ":: finished hidpi patch."
|
echo ":: finished hidpi patch."
|
||||||
fi
|
fi
|
||||||
|
@ -3,4 +3,4 @@ xwayland {
|
|||||||
}
|
}
|
||||||
|
|
||||||
env = GDK_SCALE,2
|
env = GDK_SCALE,2
|
||||||
env = QT_SCALE_FACTOR=2
|
env = QT_SCALE_FACTOR,2
|
||||||
|
Loading…
Reference in New Issue
Block a user