From 7537ba3d6f3a7e36565d83e9d8a5c83414ac9cec Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 17 Jul 2019 09:18:59 +0100 Subject: [PATCH] Add zsh-completion use flag in relevant places --- states/pass/gentoo.sls | 10 ++++++++++ states/sway/gentoo.sls | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/states/pass/gentoo.sls b/states/pass/gentoo.sls index cb9ddce..3f23a05 100644 --- a/states/pass/gentoo.sls +++ b/states/pass/gentoo.sls @@ -20,6 +20,15 @@ unmask pass package: - makedirs: True - dir_mode: 755 +pass useflags: + file.managed: + - name: /etc/portage/package.use/pass-salt + - contents: + - app-admin/pass zsh-completion + - user: root + - group: root + - mode: 644 + install pass: pkg.installed: - name: app-admin/pass @@ -29,3 +38,4 @@ install pass: - require: - file: keyword pass package - file: unmask pass package + - file: pass useflags diff --git a/states/sway/gentoo.sls b/states/sway/gentoo.sls index e79c23a..63bc5f6 100644 --- a/states/sway/gentoo.sls +++ b/states/sway/gentoo.sls @@ -14,7 +14,9 @@ sway useflags: file.managed: - name: /etc/portage/package.use/sway-salt - contents: - - gui-wm/sway swaybar swaybg swayidle swaylock swaymsg swaynag + - gui-wm/sway swaybar swaybg swayidle swaylock swaymsg swaynag zsh-completion + - gui-apps/swayidle zsh-completion + - gui-apps/swaylock zsh-completion - user: root - group: root - mode: 644 -- 2.46.2