mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
Update travis
and create better xrandr script
This commit is contained in:
parent
c9f621088e
commit
af6f952347
2 changed files with 4 additions and 3 deletions
|
@ -152,13 +152,14 @@ bar {
|
||||||
status_command i3status
|
status_command i3status
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Setup Monitors
|
||||||
|
exec xrandr {% for monitor in i3_monitors %} --output {{ monitor.output }} --mode {{ monitor.mode }} --pos {{ monitor.pos }} --rotate {{ monitor.rotate }} {% endfor %}
|
||||||
|
|
||||||
# Background
|
# Background
|
||||||
{% if i3_desktop_background is defined %}
|
{% if i3_desktop_background is defined %}
|
||||||
exec_always feh --bg-scale {{ i3_desktop_background }}
|
exec_always feh --bg-scale {{ i3_desktop_background }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Setup Monitors
|
|
||||||
exec xrandr {% for monitor in i3_monitors %} --output {{ monitor.output }} --mode {{ monitor.mode }} --pos {{ monitor.pos }} --rotate normal {% endfor %}
|
|
||||||
|
|
||||||
exec compton
|
exec compton
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
vars:
|
vars:
|
||||||
i3wm_user: "{{ ansible_user }}"
|
i3wm_user: "{{ ansible_user_id }}"
|
||||||
roles:
|
roles:
|
||||||
- travis_test
|
- travis_test
|
||||||
|
|
Loading…
Reference in a new issue