summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lee <me@xiangyangli.com>2022-04-24 08:40:20 +0800
committerSteve Lee <me@xiangyangli.com>2022-04-24 08:40:20 +0800
commitc2be28f0450288ff624755ee50a74c4ee2afce6c (patch)
treea7cbde50ed7110a11469c765d626936889f38cfa
parentaa30f4abf429e566ec5ce4b5ba858a46d55eec3a (diff)
downloaddotfiles-c2be28f0450288ff624755ee50a74c4ee2afce6c.tar.xz
dotfiles-c2be28f0450288ff624755ee50a74c4ee2afce6c.zip
update HiDPI set for mi_airmi_air
-rw-r--r--.Xresources10
-rw-r--r--.xinitrc1
-rw-r--r--.xprofile7
3 files changed, 18 insertions, 0 deletions
diff --git a/.Xresources b/.Xresources
new file mode 100644
index 0000000..ae5682d
--- /dev/null
+++ b/.Xresources
@@ -0,0 +1,10 @@
+Xcursor.theme: cursor-theme
+Xcursor.size: 32
+Xft.dpi: 168
+
+Xft.autohint: 0
+Xft.lcdfilter: lcddefault
+Xft.hintstyle: hintfull
+Xft.hinting: 1
+Xft.antialias: 1
+Xft.rgba: rgb
diff --git a/.xinitrc b/.xinitrc
new file mode 100644
index 0000000..3c8c1a4
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1 @@
+xrdb -merge ~/.Xresources
diff --git a/.xprofile b/.xprofile
index c88c56e..87d24a4 100644
--- a/.xprofile
+++ b/.xprofile
@@ -1,3 +1,10 @@
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
+
+export GDK_SCALE=1.75
+export GDK_DPI_SCALE=0.75
+export QT_AUTO_SCREEN_SCALE_FACTOR=1
+
+
+xrandr --dpi 168 --output eDP1 --mode 1920x1080 && feh --bg-center /home/steve/Pictures/Evil.png