Add more startup things

This commit is contained in:
Jake Howard 2017-08-13 14:00:26 +01:00
parent 5f984138ad
commit a60071132a
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 10 additions and 3 deletions

View file

@ -4,16 +4,21 @@ class i3::autostart {
"gnome-keyring-secrets", "gnome-keyring-secrets",
"gnome-keyring-ssh", "gnome-keyring-ssh",
"mousewheelzoom", "mousewheelzoom",
"pulseaudio",
"org.gnome.SettingsDaemon.XSettings",
"org.gnome.SettingsDaemon.XRANDR",
"org.gnome.SettingsDaemon.DiskUtilityNotify",
"org.gnome.SettingsDaemon.Keyboard",
"gsettings-data-convert"
]; ];
$programs.each |String $program| { $programs.each |String $program| {
file { "autostart $program": file { "autostart $program":
path => "/home/jake/.config/autostart/$program", path => "/home/jake/.config/autostart/$program.desktop",
ensure => link, ensure => link,
mode => "0744", mode => "0744",
owner => "jake", owner => "jake",
source => "/etc/xdg/autostart/$program" source => "/etc/xdg/autostart/$program.desktop"
} }
} }
} }

View file

@ -1,4 +1,6 @@
class i3 { class i3 {
include 'i3::autostart'
file { "i3 config": file { "i3 config":
path => '/home/jake/.config/i3/config', path => '/home/jake/.config/i3/config',
ensure => file, ensure => file,