1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sway.git synced 2024-08-16 13:49:49 +02:00

Improve screenshare stuff

This commit is contained in:
L3D 2024-07-31 22:32:06 +02:00
parent bc0e3c369a
commit c1b8733ce7
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 11 additions and 4 deletions

View file

@ -38,6 +38,7 @@ With this ansible role you deploy a sway configuration with optionally swaylock,
| ``sway__wlsunset_params`` | ``-l 49 -L 8.4`` | | ``sway__wlsunset_params`` | ``-l 49 -L 8.4`` |
| ``sway__keybindings`` | *(see [defaults/main.yml](defaults/main.yml)* | List of sway keybindings | | ``sway__keybindings`` | *(see [defaults/main.yml](defaults/main.yml)* | List of sway keybindings |
| ``sway__keybindings_extra`` | ``[]`` | Empty list for additional keybindings | | ``sway__keybindings_extra`` | ``[]`` | Empty list for additional keybindings |
| ``sway__pipewire`` | ``[]`` | Install some requirements for desktop sharing... |
| ``submodules_versioncheck`` | ``false`` | Basic Versionscheck to prevent running older version of this role | | ``submodules_versioncheck`` | ``false`` | Basic Versionscheck to prevent running older version of this role |

View file

@ -93,6 +93,7 @@ sway__keybindings:
name: display settings name: display settings
key: $mod+Shift+F7 key: $mod+Shift+F7
exec: wdisplays exec: wdisplays
sway__pipewire: true
sway__keybindings_extra: [] sway__keybindings_extra: []

View file

@ -4,10 +4,6 @@
file: "versioncheck.yml" file: "versioncheck.yml"
when: submodules_versioncheck | bool when: submodules_versioncheck | bool
# - name: Register variables
# ansible.builtin.import_tasks:
# file: variables.yml
- name: Ensure i3 packages are installed [Debian] - name: Ensure i3 packages are installed [Debian]
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: "setup-Debian.yml" file: "setup-Debian.yml"
@ -30,3 +26,12 @@
loop_var: swayusr loop_var: swayusr
label: "{{ swayusr.home }}/.config/waybar/" label: "{{ swayusr.home }}/.config/waybar/"
when: sway__waybar | bool when: sway__waybar | bool
- name: Install requirements for desktop sharing like pipewire
ansible.builtin.include_tasks:
file: "pipewire.yml"
loop: "{{ sway__user_list | flatten(1) }}"
loop_control:
loop_var: swayusr
label: "{{ swayusr.home }}/.config/waybar/"
when: sway__pipewire | bool