28 lines
708 B
Puppet
28 lines
708 B
Puppet
class i3::autostart {
|
|
$programs = [
|
|
'gnome-keyring-pkcs11',
|
|
'gnome-keyring-secrets',
|
|
'gnome-keyring-ssh',
|
|
'pulseaudio',
|
|
'org.gnome.SettingsDaemon.XSettings',
|
|
'org.gnome.SettingsDaemon.DiskUtilityNotify',
|
|
'org.gnome.SettingsDaemon.Keyboard',
|
|
'gsettings-data-convert',
|
|
'tracker-extract',
|
|
'tracker-miner-apps',
|
|
'tracker-miner-fs',
|
|
'tracker-miner-rss',
|
|
'tracker-store',
|
|
'nm-applet'
|
|
];
|
|
|
|
$programs.each |String $program| {
|
|
file { "autostart $program":
|
|
ensure => link,
|
|
path => "/home/jake/.config/autostart/$program.desktop",
|
|
mode => '0644',
|
|
owner => 'jake',
|
|
source => "/etc/xdg/autostart/$program.desktop"
|
|
}
|
|
}
|
|
}
|