-
hello, i use your dotfiles is nice to see but the dpi is too small how i can change it ? i tried with xrandr and anything still changes nothing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @NessaRNG
Well, actually HiDPI is a bit tricky, I'm currently working on a good way to set it up, but for rxvt-unicode (URxvt) itself, you can change it by changing the configuration as follows. Lines 5 to 8 in 97a7f4f Then for rofi. This is universally applied. dotfiles/.config/rofi/config.rasi Line 18 in 97a7f4f Unfortunately for the tint2 panel itself it's possible to be relative, but the problem is that the padding is also relative so the shape is irregular at different DPIs. If you wish, change this line to scale relatively to specific DPI as a reference, just set it to 96. This also applies to every configuration, so change all the tint2 configurations. Now the problem is application layers such as GTK, actually quite easy. Well, GTK uses Xft (like the URxvt font backend we use), so it can be configured via X resource database (xrdb). The following command displays the current GTK DPI information. Mine is 96 by default. 💲 gtk-query-settings dpi gtk-xft-dpi: 98304 Then to set it, add the following line to Xft.dpi: 120 Reload if you want to apply it without logging out. 💲 xrdb ~/.Xresources If you prefer xrandr, it can be set to start automatically by adding the xrandr command to |
Beta Was this translation helpful? Give feedback.
Hi @NessaRNG
Well, actually HiDPI is a bit tricky, I'm currently working on a good way to set it up, but for rxvt-unicode (URxvt) itself, you can change it by changing the configuration as follows.
97a7f4f
dotfiles/.Xresources
Lines 5 to 8 in 97a7f4f
Then for rofi. This is universally applied.
5783aaf
dotfiles/.config/rofi/config.rasi
Line 18 in 97a7f4f
Unfortunatel…