~xdavidwu/dotfiles

faeffb0c00bcf62f0a745db4c91e2354bfcf302f — xdavidwu 3 years ago 22b0ed2
font: adjust to make size more consistent
3 files changed, 35 insertions(+), 2 deletions(-)

M .config/fontconfig/fonts.conf
M .config/mako/config
M .config/sway/config
M .config/fontconfig/fonts.conf => .config/fontconfig/fonts.conf +33 -0
@@ 15,4 15,37 @@
			<bool>false</bool>
		</edit>
	</match>
	<match target="font">
		<test name="family">
			<string>Noto Sans Mono CJK TC</string>
		</test>
		<edit name="pixelsize" mode="assign">
			<times>
				<name>pixelsize</name>
				<double>0.95</double>
			</times>
		</edit>
	</match>
	<match target="font">
		<test name="family">
			<string>Noto Sans CJK TC</string>
		</test>
		<edit name="pixelsize" mode="assign">
			<times>
				<name>pixelsize</name>
				<double>0.8</double>
			</times>
		</edit>
	</match>
	<match target="font">
		<test name="family">
			<string>Noto Sans Symbols2</string>
		</test>
		<edit name="pixelsize" mode="assign">
			<times>
				<name>pixelsize</name>
				<double>0.875</double>
			</times>
		</edit>
	</match>
</fontconfig>

M .config/mako/config => .config/mako/config +1 -1
@@ 1,5 1,5 @@
background-color=#37474f
font=Noto Sans CJK TC 10
font=Noto Sans CJK TC 12
border-size=2
border-color=#37474f
border-radius=2

M .config/sway/config => .config/sway/config +1 -1
@@ 2,7 2,7 @@ exec fcitx-autostart
exec mako
exec foot --server
exec ~/.local/libexec/title-watch.sh
exec sh -c 'wlchewing -e -d no -f "Noto Sans CJK TC 11" -b#303030 -s#80cbc4 -S#101a19 2>/tmp/wlchewing.log'
exec sh -c 'wlchewing -e -d no -f "Noto Sans CJK TC 13" -b#303030 -s#80cbc4 -S#101a19 2>/tmp/wlchewing.log'
output eDP-1 scale 3
#for_window [title="."] title_format "%title %app_id %class %instance %shell"
#xwayland disable