dotfiles/modules/i3/manifests/init.pp

44 lines
994 B
Puppet

class i3 {
include 'i3::autostart'
file { 'i3 config':
ensure => file,
path => '/home/jake/.config/i3/config',
mode => '0644',
owner => 'jake',
group => 'users',
source => 'puppet:///modules/i3/i3.conf'
}
file { 'i3status-rust config':
ensure => file,
path => '/home/jake/.config/i3/status.toml',
mode => '0644',
owner => 'jake',
group => 'users',
content => template('i3/i3status-rust.toml.erb')
}
file { 'i3status config':
ensure => file,
path => '/home/jake/.config/i3status/config',
mode => '0644',
owner => 'jake',
group => 'users',
source => 'puppet:///modules/i3/i3status.conf'
}
file { 'dunst config directory':
ensure => directory,
path => '/home/jake/.config/dunst'
}
-> file { 'dunst config':
ensure => file,
path => '/home/jake/.config/dunst/dunstrc',
mode => '0644',
owner => 'jake',
group => 'users',
source => 'puppet:///modules/i3/dunst.conf'
}
}