diff --git a/templates/config.j2 b/templates/config.j2 index a2f5386..9d1bff3 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -153,7 +153,7 @@ bar { } # 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 {% if i3_desktop_background is defined %} @@ -165,11 +165,11 @@ exec compton # Start Default Applications {% for application in i3_applications if application.on_startup %} -exec {{ application.name }} +exec sleep 3 && {{ application.name }} {% endfor %} {% for app in i3_run_on_startup %} -exec {{ app }} +exec sleep 4 && {{ app }} {% endfor %} # Register Keybindings diff --git a/vars/main.yml b/vars/main.yml index 16dafe3..20a12e9 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -33,5 +33,5 @@ __i3_workspaces: 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'