diff --git a/templates/config.j2 b/templates/config.j2 index 7e932a2..a2f5386 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -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 diff --git a/travis/test.yml b/travis/test.yml index be3d5a2..b5f1ff4 100644 --- a/travis/test.yml +++ b/travis/test.yml @@ -1,6 +1,6 @@ --- - hosts: all vars: - i3wm_user: "{{ ansible_user }}" + i3wm_user: "{{ ansible_user_id }}" roles: - travis_test