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:
parent
f59b82c65c
commit
cb6815f23c
1 changed files with 9 additions and 12 deletions
21
README.md
21
README.md
|
@ -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:
|
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||||
|
|
||||||
```bash
|
```yaml
|
||||||
- hosts: all
|
- name: install i3wm on localhost
|
||||||
|
hosts: localhost
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/main.yml
|
- vars/main.yml
|
||||||
roles:
|
roles:
|
||||||
- { role: i3, tags[i3,i3wm] }
|
- {role: do1jlr.i3wm, tags[i3,i3wm]}
|
||||||
```
|
```
|
||||||
*`vars/main.yml`*
|
*`vars/main.yml`*
|
||||||
|
|
||||||
```bash
|
```yaml
|
||||||
# background image
|
# background image
|
||||||
i3_desktop_background: "~/Bilder/wallpaper.jpg"
|
i3_desktop_background: "~/Bilder/wallpaper.jpg"
|
||||||
|
|
||||||
# additional programms you need
|
|
||||||
i3_packages_extra:
|
|
||||||
- ranger
|
|
||||||
|
|
||||||
# you want additional keybindings?
|
# you want additional keybindings?
|
||||||
i3_keybindings_extra:
|
i3_keybindings_extra:
|
||||||
- keybinding:
|
- keybinding:
|
||||||
|
@ -55,18 +52,18 @@ Including an example of how to use your role (for instance, with variables passe
|
||||||
i3_monitors:
|
i3_monitors:
|
||||||
- monitor:
|
- monitor:
|
||||||
id: 1
|
id: 1
|
||||||
output: "VGA-1"
|
output: "HDMI-A-0"
|
||||||
mode: "1920x1080"
|
mode: "1920x1080"
|
||||||
pos: "0x0"
|
pos: "0x0"
|
||||||
rotate: "normal"
|
rotate: "normal"
|
||||||
workspaces: [1,2,3,4,5,6]
|
workspaces: [0,1,2,3,4,5,6]
|
||||||
- monitor:
|
- monitor:
|
||||||
id: 2
|
id: 2
|
||||||
output: "HDMI-1"
|
output: "DisplayPort-0"
|
||||||
mode: "1920x1080"
|
mode: "1920x1080"
|
||||||
pos: "1920x0"
|
pos: "1920x0"
|
||||||
rotate: "normal"
|
rotate: "normal"
|
||||||
workspaces: [7,8,9,0]
|
workspaces: [7,8,9]
|
||||||
|
|
||||||
# startup applications
|
# startup applications
|
||||||
i3_applications:
|
i3_applications:
|
||||||
|
|
Loading…
Add table
Reference in a new issue