Update playbook and improve sway

This commit is contained in:
L3D 2026-02-28 03:52:15 +01:00
parent 67da717b93
commit dd60c6cbc3
No known key found for this signature in database
8 changed files with 34 additions and 1 deletions

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule "collections/ansible_collections/l3d/wm"] [submodule "collections/ansible_collections/l3d/wm"]
path = collections/ansible_collections/l3d/wm path = collections/ansible_collections/l3d/wm
url = https://github.com/roles-ansible/ansible_collection_wm.git 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

@ -0,0 +1 @@
Subproject commit 26b90d5542cdc5f6446fe40d1ad958d9961733be

@ -1 +1 @@
Subproject commit 6178c877e69279b0152bbb28ce1bdcd7d932dc9a Subproject commit 65b5c1e1c8c1474039b3401d5baf2947f0775fbf

BIN
files/cwtv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

14
group_vars/all/sway.yml Normal file
View File

@ -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

View File

@ -0,0 +1,4 @@
role cwtv_customisation
==========================
Copy some files like a background image

View File

@ -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'

View File

@ -11,3 +11,5 @@
- {role: l3d.voc.dotfiles, tags: [user]} - {role: l3d.voc.dotfiles, tags: [user]}
- {role: l3d.avahi.client, tags: [avahi]} - {role: l3d.avahi.client, tags: [avahi]}
- {role: l3d.avahi.daemon, tags: [avahi]} - {role: l3d.avahi.daemon, tags: [avahi]}
- {role: l3d.wm.sway, tags: [sway]}
- {role: cwtv_customisation, tags: [cwtv]}