regolith-linux / regolith-st

Suckless simple terminal (st) for Regolith Linux
6 stars 2 forks source link

Font size is pretty small on a 4K display #7

Closed abdollahpour closed 5 years ago

abdollahpour commented 5 years ago

I have a 4K display. The other apps are scale correctly but the default font on Regolith terminal is pretty small.

kgilmer commented 5 years ago

Hi @abdollahpour :smile: . You can update the font for the terminal here. To create your own config files, have a look at this page.

abdollahpour commented 5 years ago

The problem solved after the first update. Now it's ok using the default config. Thanks

kgilmer commented 5 years ago

:+1:

lumenwrites commented 4 years ago

Hey guys! I've just installed regolith for the first time, most of the stuff works great, but this is one problem i can't seem to solve. Links in @kgilmer 's post are broken.

Can you please help me to figure out how to increase the font size? On my high-dpi display it's tiny, but only in terminal, all the other apps and everything looks great. (I'm running PopOS, and it applies it's own styling to a lot of stuff, I think. But regolith terminal for some reason is not affected).

I tried putting Xft.dpi: 170 into ~/.Xresources but that didn't do anything.

kgilmer commented 4 years ago

Hi @raymestalez , sorry about the broken link. The page moved here: https://github.com/regolith-linux/regolith-desktop/wiki/Customize

In essence you just need to update an Xresource value St.font. The page linked will describe how to copy the default Xresource and make the change.

One thing to keep in mind is that Regolith 1.3 was just released (5 minutes ago) and the styling work has gotten a bit simpler. So, it may be worth updating first, and then you can refer to the new documentation for changing the font: https://regolith-linux.org/docs/customize/styles/

Zackhardtoname commented 4 years ago

Hi, I just installed it on Ubuntu 18.04 through the PPA but still can't change the font for the bottom bar or terminal. I am using a 4k external monitor and my 4k laptop monitor a joint screen.

To ~/.Xresources-regolith I added St.font: Source Code Pro:pixelsize=60:antialias=true:autohint=true image

Tried to reload and log out/in.

kgilmer commented 4 years ago

Regolith provides two complementary Xresource customization options:

~/Xresources-regolith overrides all Xresource values defined in Regolith with whatever is in this file. ~/.config/regolith/Xresources overrides specific values that are added, after the defaults are loaded by Regolith.

Here is the documentation for Regolith Xresource keys: https://regolith-linux.org/docs/reference/xresources/

I believe you want to use option two instead of the first. Here is a sample of how I updated all font sizes in Regolith:

$ echo "St.font: Source Code Pro:pixelsize=20:antialias=true:autohint=true" >> ~/.config/regolith/Xresources
$ echo "i3-wm.bar.font: pango:Source Code Pro Medium 20, Material Design Icons 20"  >> ~/.config/regolith/Xresources
$ echo "i3-wm.font:     pango:Source Code Pro Medium 20"  >> ~/.config/regolith/Xresources
$ echo "i3xrocks.value.font:    Source Code Pro Medium 20" >>  >> ~/.config/regolith/Xresources
$ echo "rofi.font:      Source Code Pro Medium 20" >> ~/.config/regolith/Xresources
$ regolith-look refresh

image