First commit
This commit is contained in:
commit
ed405fe273
4 changed files with 104 additions and 0 deletions
40
README.md
Normal file
40
README.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
Swaylock Ansible Role
|
||||
---------------------
|
||||
|
||||
Install and configure [swaylock](https://github.com/swaywm/swaylock)
|
||||
|
||||
## Variables
|
||||
|
||||
You can define 3 variables for this role, all are optionnals.
|
||||
|
||||
`swaylock_flags` list options which do not need valus like `daemonize`:
|
||||
```yaml
|
||||
---
|
||||
swaylock_flags:
|
||||
- ignore-empty-password
|
||||
- show-failed-attempts
|
||||
- daemonize
|
||||
```
|
||||
|
||||
`swaylock_options` list key-value type options like `image` or all colors
|
||||
related stuff:
|
||||
|
||||
```yaml
|
||||
swaylock_options:
|
||||
image: '~/documents/ressources/wallpapers/psychonauts.jpg'
|
||||
|
||||
```
|
||||
|
||||
You can check *Swaylock* manual pages (`man swaylock`) for all options.
|
||||
|
||||
The last variable, `swaylock_keybinding` list *Swaylock* related keybinding for
|
||||
*Sway*. Check my [Sway Ansible role](https://git.epha.se/ephase/ansible-sway)
|
||||
for managing this variable.
|
||||
|
||||
```yaml
|
||||
swaylock_keybindings:
|
||||
- mode: normal
|
||||
bindings:
|
||||
- bindsym: '$mod+alt+l'
|
||||
action: 'exec swaylock'
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue