dotfiles/modules/i3/manifests/autostart.pp

38 lines
942 B
Puppet

class i3::autostart {
$programs = [
'gnome-keyring-pkcs11',
'gnome-keyring-secrets',
'gnome-keyring-ssh',
'mousewheelzoom',
'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"
}
}
file {"autostart compton":
ensure => link,
path => '/home/jake/.config/autostart/compton.desktop',
mode => '0644',
owner => 'jake',
source => '/usr/share/applications/compton.desktop'
}
}