9 Commits
Author SHA1 Message Date
wyj 5fe3fed2ea fix: sed need -E 2024-04-01 15:40:33 -04:00
wyj 2b1986edad fix hidpi.sh: echo -e 2024-03-28 03:21:44 -04:00
wyj e6a80c8ad2 update hidpi.sh: add finish output 2024-03-28 02:45:02 -04:00
wyj e2d65b4c3c fix hidpi.sh 2024-03-28 02:42:15 -04:00
wyj 0f69f88603 fix hidpi.sh: -i instead of -E 2024-03-28 02:40:05 -04:00
wyj c63aa2430c update hidpi.sh: run always 2024-03-28 02:31:27 -04:00
wyj 259073e10f fix bug: missing fi 2024-03-28 02:25:56 -04:00
wyj 943cb53c93 add hidpi in install.sh 2024-03-28 01:45:39 -04:00
wyj c3bfe46e79 add basic hidpi 2024-03-27 23:17:46 -04:00
4 changed files with 30 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# ------------------------------------------------------
# hidpi support
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "hidpi"
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
echo ":: finished hidpi patch."
fi
+6
View File
@@ -0,0 +1,6 @@
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,2
env = QT_SCALE_FACTOR=2
+6
View File
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=,preferred,auto,2
+1
View File
@@ -60,6 +60,7 @@ if [[ $profile == *"Qtile"* ]]; then
source .install/install-packages.sh source .install/install-packages.sh
fi fi
source .install/wallpaper.sh source .install/wallpaper.sh
source .install/hidpi.sh
source .install/displaymanager.sh source .install/displaymanager.sh
source .install/issue.sh source .install/issue.sh
source .install/restore.sh source .install/restore.sh