From: Maximilian Friedersdorff Date: Tue, 6 Aug 2019 07:32:57 +0000 (+0100) Subject: Ensture qutebrowser conf directory exists X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c0f60ac37aa897c6bb626f9c17427f0ac0f51608;p=max%2Fsaltfiles.git Ensture qutebrowser conf directory exists --- diff --git a/states/qutebrowser/init.sls b/states/qutebrowser/init.sls index 9f044ec..a511ddd 100644 --- a/states/qutebrowser/init.sls +++ b/states/qutebrowser/init.sls @@ -2,6 +2,13 @@ include: - qutebrowser.{{ grains['os'] | lower}} - local.bin +qute config dir: + file.directory: + - name: {{ grains['homedir'] }}/.config/qutebrowser + - user: {{ grains['user'] }} + - group: {{ grains['user'] }} + - mode: 750 + - makedirs: True userscripts dir: file.directory: @@ -60,3 +67,5 @@ qutebrowser config: - user: {{ grains['user'] }} - group: {{ grains['user'] }} - mode: 640 + - require: + - file: qute config dir