53 lines
1.2 KiB
Puppet
53 lines
1.2 KiB
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 { 'compton config':
|
|
ensure => file,
|
|
path => '/home/jake/.config/compton.conf',
|
|
mode => '0644',
|
|
owner => 'jake',
|
|
group => 'users',
|
|
source => 'puppet:///modules/i3/compton.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'
|
|
}
|
|
}
|