21 lines
435 B
Puppet
21 lines
435 B
Puppet
class config::fonts {
|
|
$fonts = [
|
|
'11-lcdfilter-default.conf',
|
|
'10-sub-pixel-rgb.conf',
|
|
'30-infinality-aliases.conf'
|
|
];
|
|
|
|
$fonts.each |String $font| {
|
|
file { "font config $font":
|
|
ensure => link,
|
|
path => "/etc/fonts/conf.d/$font",
|
|
mode => '0644',
|
|
source => "/etc/fonts/conf.avail/$font"
|
|
|
|
}
|
|
}
|
|
|
|
exec { 'update font cache':
|
|
command => 'gdk-pixbuf-query-loaders --update-cache'
|
|
}
|
|
}
|