1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_i3wm.git synced 2024-08-16 10:09:53 +02:00
Find a file
2019-04-24 09:40:42 +02:00
defaults Update correct name 2019-04-07 18:32:42 +02:00
meta Update metadata 2019-04-24 09:40:42 +02:00
molecule initial commit 2017-12-31 00:56:01 +01:00
tasks Add user 2019-04-07 17:07:15 +02:00
templates improvement 2019-02-20 21:02:06 +01:00
tests initial commit 2017-12-31 00:56:01 +01:00
travis try to repair travis 2019-04-07 17:39:55 +02:00
vars Make audio optional 2019-02-20 11:53:10 +01:00
.gitignore initial commit 2017-12-31 00:56:01 +01:00
.travis.yml kick old debian 2019-02-04 18:01:56 +01:00
.yamllint initial commit 2017-12-31 00:56:01 +01:00
LICENSE copy-paste license file 2019-04-24 09:27:07 +02:00
README.md Add user 2019-04-07 17:07:15 +02:00

I3 WM

Install and a basic configuration of I3 Window Manager See: https://i3wm.org/

Build Status

Requirements

No requirements.

Role Variables

additional i3 packages

i3_packages_extra:

background image

i3_desktop_env:

i3 workspaces

__i3_workspaces could be overwritte with i3_workspaces

i3 keybindings

__i3_keybindings coud be overwritten with i3_keybindings

additional i3 keybindings

i3_keybindings_extra: []

monitor settings and bindings to i3 workspaces

i3_monitors: []

applications bindings to i3 workspaces

i3_applications: []

ansible user i3wm_user: "{{ user }}"

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: all
  vars_files:
    - vars/main.yml    
  roles:
    - { role: i3 }

vars/main.yml

i3_desktop_env:
  background: "~/wallpaper.jpg"

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

License

Apache