From 6e733373230c946fb3a20a9f5ed00063bd681be2 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 30 Nov 2022 09:44:49 +0100 Subject: [PATCH] Add swaylock role and variables --- group_vars/all/swaylock.yml | 14 ++++++++++++++ playbook.yml | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 group_vars/all/swaylock.yml diff --git a/group_vars/all/swaylock.yml b/group_vars/all/swaylock.yml new file mode 100644 index 0000000..8b7a925 --- /dev/null +++ b/group_vars/all/swaylock.yml @@ -0,0 +1,14 @@ +--- +swaylock_flags: + - ignore-empty-password + - show-failed-attempts + - daemonize + +swaylock_options: + image: '~/documents/ressources/wallpapers/psychonauts.jpg' + +swaylock_keybindings: + - mode: normal + bindings: + - bindsym: '$mod+alt+l' + action: 'exec swaylock' diff --git a/playbook.yml b/playbook.yml index bfc6742..6c7b7fe 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,6 +1,8 @@ --- - hosts: all roles: - #- ansible-sshagentd - #- ansible-sway + - ansible-sshagentd + - ansible-sway + - ansible-kanshi - ansible-mako + - ansible-swaylock