6 Commits
Author SHA1 Message Date
wyj 23f8294d48 Merge branch 'upstream-custom' into dev 2024-05-18 00:47:50 -04:00
wyj dd5a4b76ae update: float QQ 2024-05-17 13:14:19 -04:00
wyj 63a3e3e222 Merge branch 'upstream-hidpi' into dev 2024-05-17 02:10:30 -04:00
wyj 08096e83ff update: font size=16 for alacritty 2024-05-17 02:09:53 -04:00
wyj 89623ce4f3 Merge branch 'upstream-hidpi' into dev 2024-05-17 01:59:09 -04:00
wyj a0f43ada10 fix: patch in ~/dotfiles-versions rather than in repository 2024-05-17 01:46:29 -04:00
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -9,9 +9,9 @@ echo -e "${NONE}"
hidpiconfirm="Do you want 2x hidpi scale?"
if gum confirm "$hidpiconfirm"; then
sed -i -E 's/size = [0-9]+(\.[0-9]+)?/size = 18/' alacritty/alacritty.toml
sed -i -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
sed -i -E 's/1/2/' hypr/conf/monitors/default.conf
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
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
echo ":: finished hidpi patch."
fi
+1
View File
@@ -16,3 +16,4 @@ layerrule = blur, logout_dialog
windowrule = float,title=^(Mathematica)$
windowrule = opacity 0.75, ^(Code)$
windowrule = float,^(QQ)$