1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00

improeve README

This commit is contained in:
L3D 2022-04-11 17:57:56 +02:00
parent f59b82c65c
commit cb6815f23c
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -23,23 +23,20 @@ For a good overview about possible variables, please have a look into ``defaults
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
```bash
- hosts: all
```yaml
- name: install i3wm on localhost
hosts: localhost
vars_files:
- vars/main.yml
roles:
- { role: i3, tags[i3,i3wm] }
- {role: do1jlr.i3wm, tags[i3,i3wm]}
```
*`vars/main.yml`*
```bash
```yaml
# background image
i3_desktop_background: "~/Bilder/wallpaper.jpg"
# additional programms you need
i3_packages_extra:
- ranger
# you want additional keybindings?
i3_keybindings_extra:
- keybinding:
@ -55,18 +52,18 @@ Including an example of how to use your role (for instance, with variables passe
i3_monitors:
- monitor:
id: 1
output: "VGA-1"
output: "HDMI-A-0"
mode: "1920x1080"
pos: "0x0"
rotate: "normal"
workspaces: [1,2,3,4,5,6]
workspaces: [0,1,2,3,4,5,6]
- monitor:
id: 2
output: "HDMI-1"
output: "DisplayPort-0"
mode: "1920x1080"
pos: "1920x0"
rotate: "normal"
workspaces: [7,8,9,0]
workspaces: [7,8,9]
# startup applications
i3_applications: