1
0
Fork 0
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:
Lilian Roller 2019-06-11 09:37:23 +02:00
parent c9f621088e
commit af6f952347
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B
2 changed files with 4 additions and 3 deletions

View file

@ -152,13 +152,14 @@ bar {
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
{% if i3_desktop_background is defined %}
exec_always feh --bg-scale {{ i3_desktop_background }}
{% endif %}
# Setup Monitors
exec xrandr {% for monitor in i3_monitors %} --output {{ monitor.output }} --mode {{ monitor.mode }} --pos {{ monitor.pos }} --rotate normal {% endfor %}
exec compton

View file

@ -1,6 +1,6 @@
---
- hosts: all
vars:
i3wm_user: "{{ ansible_user }}"
i3wm_user: "{{ ansible_user_id }}"
roles:
- travis_test