swaywm 中的字体在哪里/如何配置?
我看到引用.Xresources
/.Xdefaults
用于某些事情https://wiki.archlinux.org/index.php/Sway#Xresources
如果有的话处理什么Xresources
?
如果sway的所有字体配置都使用Xresources,可以配置哪些值?
fontconfig https://www.freedesktop.org/wiki/Software/fontconfig/是最好的方法甚至可能吗?
根据 sway 的手册页 5
man 5 sway
您可以使用配置中的一行设置窗口标题和 bar 命令的字体(也可能用于其他内容)。这是我添加到我的
~/.config/sway/config
文件
font pango:SourceCodePro Medium 11
我想使用 SourceCodePro 字体。它在 archlinux 上的包名称是
adobe-source-code-pro-fonts