From a60071132a6cd5639bb308148f50de5d47c38340 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 13 Aug 2017 14:00:26 +0100 Subject: [PATCH] Add more startup things --- modules/i3/manifests/autostart.pp | 11 ++++++++--- modules/i3/manifests/init.pp | 2 ++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/i3/manifests/autostart.pp b/modules/i3/manifests/autostart.pp index ed424a1..ed78a6d 100644 --- a/modules/i3/manifests/autostart.pp +++ b/modules/i3/manifests/autostart.pp @@ -4,16 +4,21 @@ class i3::autostart { "gnome-keyring-secrets", "gnome-keyring-ssh", "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| { file { "autostart $program": - path => "/home/jake/.config/autostart/$program", + path => "/home/jake/.config/autostart/$program.desktop", ensure => link, mode => "0744", owner => "jake", - source => "/etc/xdg/autostart/$program" - + source => "/etc/xdg/autostart/$program.desktop" } } } diff --git a/modules/i3/manifests/init.pp b/modules/i3/manifests/init.pp index b4d70f6..63aa453 100644 --- a/modules/i3/manifests/init.pp +++ b/modules/i3/manifests/init.pp @@ -1,4 +1,6 @@ class i3 { + include 'i3::autostart' + file { "i3 config": path => '/home/jake/.config/i3/config', ensure => file,