diff --git a/defaults/main.yml b/defaults/main.yml index c7c93a6..1d7d1c3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -21,6 +21,9 @@ i3_applications: [] # workspace: 1 # bind application to a specific workspace # on_startup: false +i3_run_on_startup: [] +# - foo +# - bar i3: font_size: 9 diff --git a/templates/config.j2 b/templates/config.j2 index 097b380..6c365c8 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -169,6 +169,10 @@ exec compton exec {{ application.name }} {% endfor %} +{% for app in i3_run_on_startup %} +exec {{ app }} +{% endfor %} + # Register Keybindings {% for keybinding in i3_keybindings %} bindsym {{ keybinding.key }} exec {{ keybinding.exec }}