mirror of
https://github.com/roles-ansible/ansible_role_i3wm.git
synced 2024-08-16 10:09:53 +02:00
improve xrandr behavior
improve behavior by adding a sleep at the beginning because command was too quick and did not made any changes
This commit is contained in:
parent
af6f952347
commit
4ac42e9021
2 changed files with 4 additions and 4 deletions
|
@ -153,7 +153,7 @@ bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Setup Monitors
|
# Setup Monitors
|
||||||
exec xrandr {% for monitor in i3_monitors %} --output {{ monitor.output }} --mode {{ monitor.mode }} --pos {{ monitor.pos }} --rotate {{ monitor.rotate }} {% endfor %}
|
exec sleep 2 && 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 %}
|
||||||
|
@ -165,11 +165,11 @@ exec compton
|
||||||
|
|
||||||
# Start Default Applications
|
# Start Default Applications
|
||||||
{% for application in i3_applications if application.on_startup %}
|
{% for application in i3_applications if application.on_startup %}
|
||||||
exec {{ application.name }}
|
exec sleep 3 && {{ application.name }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for app in i3_run_on_startup %}
|
{% for app in i3_run_on_startup %}
|
||||||
exec {{ app }}
|
exec sleep 4 && {{ app }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
# Register Keybindings
|
# Register Keybindings
|
||||||
|
|
|
@ -33,5 +33,5 @@ __i3_workspaces:
|
||||||
|
|
||||||
user: "{{ i3wm_user }}"
|
user: "{{ i3wm_user }}"
|
||||||
|
|
||||||
playbook_version_number: 9003 # should be over ninethousand
|
playbook_version_number: 9004 # should be over ninethousand
|
||||||
playbook_version_path: '/etc/ansible-version/role-i3wm_chaos-bodensee_github.com.version'
|
playbook_version_path: '/etc/ansible-version/role-i3wm_chaos-bodensee_github.com.version'
|
||||||
|
|
Loading…
Reference in a new issue