diff --git a/.gitmodules b/.gitmodules index 8760d3d..51fce07 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "collections/ansible_collections/l3d/wm"] path = collections/ansible_collections/l3d/wm url = https://github.com/roles-ansible/ansible_collection_wm.git +[submodule "collections/ansible_collections/community/crypto"] + path = collections/ansible_collections/community/crypto + url = https://github.com/ansible-collections/community.crypto.git diff --git a/collections/ansible_collections/community/crypto b/collections/ansible_collections/community/crypto new file mode 160000 index 0000000..26b90d5 --- /dev/null +++ b/collections/ansible_collections/community/crypto @@ -0,0 +1 @@ +Subproject commit 26b90d5542cdc5f6446fe40d1ad958d9961733be diff --git a/collections/ansible_collections/l3d/wm b/collections/ansible_collections/l3d/wm index 6178c87..65b5c1e 160000 --- a/collections/ansible_collections/l3d/wm +++ b/collections/ansible_collections/l3d/wm @@ -1 +1 @@ -Subproject commit 6178c877e69279b0152bbb28ce1bdcd7d932dc9a +Subproject commit 65b5c1e1c8c1474039b3401d5baf2947f0775fbf diff --git a/files/cwtv.png b/files/cwtv.png new file mode 100644 index 0000000..83016c3 Binary files /dev/null and b/files/cwtv.png differ diff --git a/group_vars/all/sway.yml b/group_vars/all/sway.yml new file mode 100644 index 0000000..6cf056c --- /dev/null +++ b/group_vars/all/sway.yml @@ -0,0 +1,14 @@ +--- +sway__user_list: + - user: 'voc' + home: '/home/voc' + +sway__wlsunset: false +sway__term: 'terminator' +sway__term_pkgs: ['terminator'] +sway__swayidle: false +sway__background_image: '/usr/share/cwtv.png' + +sway__swaylock: | + image= + color=000000ff diff --git a/roles/cwtv_customisation/README.md b/roles/cwtv_customisation/README.md new file mode 100644 index 0000000..8206031 --- /dev/null +++ b/roles/cwtv_customisation/README.md @@ -0,0 +1,4 @@ + role cwtv_customisation +========================== + +Copy some files like a background image diff --git a/roles/cwtv_customisation/tasks/main.yml b/roles/cwtv_customisation/tasks/main.yml new file mode 100644 index 0000000..b9180b6 --- /dev/null +++ b/roles/cwtv_customisation/tasks/main.yml @@ -0,0 +1,9 @@ +--- +- name: Copy cwtv Logo + become: true + ansible.builtin.copy: + src: 'files/cwtv.png' + dest: '/usr/share/cwtv.png' + owner: 'voc' + group: 'voc' + mode: '0444' diff --git a/site.yml b/site.yml index 1343d04..aa4cdaa 100644 --- a/site.yml +++ b/site.yml @@ -11,3 +11,5 @@ - {role: l3d.voc.dotfiles, tags: [user]} - {role: l3d.avahi.client, tags: [avahi]} - {role: l3d.avahi.daemon, tags: [avahi]} + - {role: l3d.wm.sway, tags: [sway]} + - {role: cwtv_customisation, tags: [cwtv]}