dotfiles/modules/config/manifests/fonts.pp

17 lines
343 B
Puppet

class config::fonts {
$fonts = [
'11-lcdfilter-default.conf',
'10-sub-pixel-rgb.conf',
'30-infinality-aliases.conf'
];
$fonts.each |String $font| {
file { "Enable $font font":
ensure => link,
path => "/etc/fonts/conf.d/$font",
mode => '0644',
source => "/etc/fonts/conf.avail/$font"
}
}
}