From 258d89775825fb9ecbb8ca70f0f76ba81e209caa Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Mon, 27 May 2024 23:54:50 +0200 Subject: [PATCH] Add silent switch to "exec-once" Hyprland option --- .../desktop-environment/templates/.config/hypr/hyprland.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 index 47fbef4..c47ba66 100644 --- a/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 +++ b/roles/desktop-environment/templates/.config/hypr/hyprland.conf.j2 @@ -111,7 +111,7 @@ exec-once = waybar & ~/.local/bin/hyprhelpr background & ~/.local/bin/hyprhelpr exec-once = nextcloud --background {% endif %} {% for autostart in hostvars[ansible_hostname]['autostart'] %} -exec-once = {% if 'workspace' in autostart %}[workspace {{ autostart['workspace'] }}] {% endif %}{{ autostart['command'] }} +exec-once = {% if 'workspace' in autostart %}[workspace {{ autostart['workspace'] }} {%- if (autostart['silent'] | default('false')) | bool %} silent{% endif %}] {% endif %}{{ autostart['command'] }} {% endfor %} # See https://wiki.hyprland.org/Configuring/Keywords/ for more