]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Ensture qutebrowser conf directory exists
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 07:32:57 +0000 (08:32 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 6 Aug 2019 07:32:57 +0000 (08:32 +0100)
states/qutebrowser/init.sls

index 9f044ec966bb05f4b9c13c88e8329c59a2cebf79..a511ddd114d759cbb7e02b4c55e9e03b736b6af8 100644 (file)
@@ -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