Add more startup things
This commit is contained in:
parent
5f984138ad
commit
a60071132a
2 changed files with 10 additions and 3 deletions
|
@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue