diff --git a/tasks/files/avertissement.desktop b/tasks/files/autostart/avertissement.desktop similarity index 100% rename from tasks/files/avertissement.desktop rename to tasks/files/autostart/avertissement.desktop diff --git a/tasks/files/autostart/background.desktop b/tasks/files/autostart/background.desktop new file mode 100644 index 0000000..4557934 --- /dev/null +++ b/tasks/files/autostart/background.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Exec=dconf write /org/cinnamon/desktop/background/picture-uri "'file:///usr/share/backgrounds/fond-loritz.png'" +X-GNOME-Autostart-enabled=true +NoDisplay=false +Hidden=false +Name[fr_FR]=Fond d'ecran Loritz +Comment[fr_FR]=Change le fond d'écran pour celui de loritz +X-GNOME-Autostart-Delay=2 \ No newline at end of file diff --git a/tasks/loritz-user.yml b/tasks/loritz-user.yml index 25a191b..e0f12f9 100644 --- a/tasks/loritz-user.yml +++ b/tasks/loritz-user.yml @@ -56,10 +56,10 @@ group: loritz mode: 0755 -- name: Copie message pret +- name: Copie autostart copy: - src: files/avertissement.desktop - dest: /home/loritz/.config/autostart/ + src: files/autostart + dest: /home/loritz/.config/ owner: loritz group: loritz mode: 0755