From 731bd58d156a2f0c329eea9b0fca616e100dda62 Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 20 Feb 2019 21:02:06 +0100 Subject: [PATCH] improvement --- defaults/main.yml | 3 +++ templates/config.j2 | 4 ++++ 2 files changed, 7 insertions(+) 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 }}