diff --git a/files/wallpaper.jpg b/files/wallpaper.jpg new file mode 100644 index 0000000..73a9a4a Binary files /dev/null and b/files/wallpaper.jpg differ diff --git a/gdm/07-accessibility b/gdm/accessibility similarity index 100% rename from gdm/07-accessibility rename to gdm/accessibility diff --git a/gdm/dash b/gdm/dash new file mode 100644 index 0000000..f77834f --- /dev/null +++ b/gdm/dash @@ -0,0 +1,2 @@ +[org/gnome/shell] +favorite-apps = ['firefox.desktop', 'gnome-terminal.desktop', 'nautilus.desktop'] diff --git a/gdm/00-login-screen b/gdm/login-screen similarity index 100% rename from gdm/00-login-screen rename to gdm/login-screen diff --git a/gdm/wallpaper b/gdm/wallpaper new file mode 100644 index 0000000..ab3db00 --- /dev/null +++ b/gdm/wallpaper @@ -0,0 +1,5 @@ +[org/gnome/desktop/background] +picture-uri='file:///usr/local/share/wallpaper.jpg' +picture-options='zoom' +primary-color='000000' +secondary-color='FFFFFF' diff --git a/gnome-config.yaml b/gnome-config.yaml new file mode 100644 index 0000000..4f1bba7 --- /dev/null +++ b/gnome-config.yaml @@ -0,0 +1,35 @@ +- name: GJK GNOME configuration + hosts: all + user: administrator + become: true + + tasks: + - name: Pin applications to dash + copy: + src: 'gdm/dash' + dest: '/etc/dconf/db/local.d/dash' + + - name: Set wallpaper + copy: src={{ item.src }} dest={{ item.dest }} + with_items: + - { src: 'gdm/wallpaper', dest: '/etc/dconf/db/local.d/wallpaper' } + - { src: 'files/wallpaper.jpg', dest: '/usr/local/share/wallpaper.jpg' } + + - name: GDM usernames profile + copy: + src: 'gdm/profile' + dest: '/etc/dconf/profile/gdm' + + - name: GDM login screen configuration - don't show all users + copy: + src: 'gdm/login-screen' + dest: '/etc/dconf/db/gdm.d/login-screen' + + - name: GDM login screen configuration - disable accessibility + # Not working, perhaps broken GDM + copy: + src: 'gdm/accessibility' + dest: '/etc/dconf/db/gdm.d/accessibility' + + - name: Update dconf database + command: "dconf update" diff --git a/setup.yaml b/setup.yaml index 9a68716..4589f75 100644 --- a/setup.yaml +++ b/setup.yaml @@ -47,20 +47,6 @@ command: "flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo" - name: Enable flathub repo command: "flatpak remote-modify --enable flathub" - - name: GDM usernames profile - copy: - src: 'gdm/profile' - dest: '/etc/dconf/profile/gdm' - - name: GDM login screen configuration - don't show all users - copy: - src: 'gdm/00-login-screen' - dest: '/etc/dconf/db/gdm.d/00-login-screen' - - name: GDM login screen configuration - disable accessibility #nefunguje, asi rozbitĂ˝ GDM - copy: - src: 'gdm/07-accessibility' - dest: '/etc/dconf/db/gdm.d/07-accessibility' - - name: Update dconf database - command: "dconf update" - name: Create Administrator user user: name: administrator