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

84 lines
1.9 KiB
Markdown
Raw Normal View History

2019-05-29 10:55:59 +02:00
I3 Window Manager - ansible role
=========================================
2017-12-31 00:56:01 +01:00
2019-05-29 10:55:59 +02:00
*Install and deploy a basic configuration of [I3 Window Manager](https://i3wm.org/) via ansible.*
2017-12-31 00:56:01 +01:00
2019-06-11 09:25:17 +02:00
[![Build Status](https://travis-ci.org/chaos-bodensee/role-i3wm.svg?branch=master)](https://travis-ci.org/chaos-bodensee/role-i3wm)
2019-04-24 15:27:24 +02:00
2019-06-11 13:23:07 +02:00
<a href="https://galaxy.ansible.com/do1jlr/i3wm"><img width="80px" src="https://galaxy.ansible.com/assets/galaxy-logo-02.svg"/></a>
2019-05-29 10:55:59 +02:00
### Get it directly from Ansible Galaxy
2019-04-24 15:27:24 +02:00
```bash
2019-06-11 13:23:07 +02:00
$ ansible-galaxy install do1jlr.i3wm
2019-04-24 15:27:24 +02:00
```
2019-02-04 17:33:57 +01:00
2019-05-29 10:55:59 +02:00
Requirements
2017-12-31 00:56:01 +01:00
------------
No requirements.
2019-05-29 10:55:59 +02:00
Role Variables
2017-12-31 00:56:01 +01:00
--------------
2019-05-29 10:55:59 +02:00
For a good overview about possible variables, please have a look into ``defaults/main.yml``.
2017-12-31 00:56:01 +01:00
2019-05-29 10:55:59 +02:00
Example Playbook
2017-12-31 00:56:01 +01:00
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
2019-05-29 10:55:59 +02:00
```bash
2017-12-31 00:56:01 +01:00
- hosts: all
vars_files:
- vars/main.yml
roles:
- { role: i3 }
2019-05-29 10:55:59 +02:00
```
2017-12-31 00:56:01 +01:00
*`vars/main.yml`*
2019-05-29 10:55:59 +02:00
```bash
2019-06-11 09:19:11 +02:00
i3_desktop_background: "~/Bilder/wallpaper.jpg"
2017-12-31 00:56:01 +01:00
i3_packages_extra:
- ranger
i3_keybindings_extra:
- keybinding:
name: Volume (mute/unmute)
key: $mod+F12
exec: --no-startup-id amixer sset Master toggle
- keybinding:
name: Volue (default)
key: $mod+Shift+F12
exec: --no-startup-id amixer sset Master 40%
i3_monitors:
- monitor:
id: 1
output: "VGA-1"
mode: "1920x1080"
pos: "0x0"
rotate: "normal"
workspaces: [1,2,3,4,5,6]
- monitor:
id: 2
output: "HDMI-1"
mode: "1920x1080"
pos: "1920x0"
rotate: "normal"
workspaces: [7,8,9,0]
i3_applications:
- application:
class: "Firefox"
name: "firefox"
workspace: 1
on_startup: false
- application:
class: "Code"
name: "code"
workspace: 7
on_startup: true
2019-05-29 10:55:59 +02:00
```