dotfiles/modules/i3/manifests/autostart.pp

25 lines
633 B
ObjectPascal
Raw Normal View History

2017-08-13 13:30:30 +01:00
class i3::autostart {
$programs = [
"gnome-keyring-pkcs11",
"gnome-keyring-secrets",
"gnome-keyring-ssh",
"mousewheelzoom",
2017-08-13 14:00:26 +01:00
"pulseaudio",
"org.gnome.SettingsDaemon.XSettings",
"org.gnome.SettingsDaemon.XRANDR",
"org.gnome.SettingsDaemon.DiskUtilityNotify",
"org.gnome.SettingsDaemon.Keyboard",
"gsettings-data-convert"
2017-08-13 13:30:30 +01:00
];
$programs.each |String $program| {
file { "autostart $program":
2017-08-13 14:00:26 +01:00
path => "/home/jake/.config/autostart/$program.desktop",
2017-08-13 13:30:30 +01:00
ensure => link,
mode => "0744",
owner => "jake",
2017-08-13 14:00:26 +01:00
source => "/etc/xdg/autostart/$program.desktop"
2017-08-13 13:30:30 +01:00
}
}
}