dotfiles/modules/i3/manifests/autostart.pp

42 lines
1 KiB
ObjectPascal
Raw Normal View History

2017-08-13 13:30:30 +01:00
class i3::autostart {
$programs = [
2017-10-08 18:52:37 +01:00
'gnome-keyring-pkcs11',
'gnome-keyring-secrets',
'gnome-keyring-ssh',
'pulseaudio',
'org.gnome.SettingsDaemon.XSettings',
'org.gnome.SettingsDaemon.DiskUtilityNotify',
'org.gnome.SettingsDaemon.Keyboard',
2017-10-08 21:02:35 +01:00
'gsettings-data-convert',
2017-10-22 15:16:33 +01:00
'nm-applet',
2018-05-05 20:47:22 +01:00
'lxpolkit',
'solaar'
2017-08-13 13:30:30 +01:00
];
$programs.each |String $program| {
2017-10-19 20:49:41 +01:00
file { "Autostart $program":
2017-08-13 13:30:30 +01:00
ensure => link,
2017-10-08 18:52:37 +01:00
path => "/home/jake/.config/autostart/$program.desktop",
2017-10-08 21:02:35 +01:00
mode => '0644',
2017-10-08 18:52:37 +01:00
owner => 'jake',
2017-08-13 14:00:26 +01:00
source => "/etc/xdg/autostart/$program.desktop"
2017-08-13 13:30:30 +01:00
}
}
2017-10-20 08:30:43 +01:00
2018-03-05 19:31:00 +00:00
file {'Autostart libinput-gestures':
ensure => link,
path => '/home/jake/.config/autostart/libinput-gestures.desktop',
mode => '0644',
owner => 'jake',
source => '/usr/share/applications/libinput-gestures.desktop'
}
file {'Install powertop service':
ensure => link,
path => '/etc/systemd/system/powertop.service',
mode => '0644',
owner => 'root',
source => 'puppet:///modules/i3/powertop.service'
}
2017-08-13 13:30:30 +01:00
}