]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Configure some moar
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 4 Oct 2022 09:25:17 +0000 (10:25 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 4 Oct 2022 09:25:17 +0000 (10:25 +0100)
states/sway/files/baryte
states/sway/files/mako_config [new file with mode: 0644]
states/sway/init.sls

index e2f7bc04aad2fc39bbae58c9dd6a4c84d983d150..6503657c1172dcceca429b7f3642d8824852add9 100644 (file)
@@ -66,7 +66,7 @@ output DP-3 {
 output HDMI-A-1 {
   background ~/Pictures/Backgrounds/DSC02121.jpg fill
   position 2560 0
-  scale 1.5
+  scale 1
 }
 
 
diff --git a/states/sway/files/mako_config b/states/sway/files/mako_config
new file mode 100644 (file)
index 0000000..367e779
--- /dev/null
@@ -0,0 +1,4 @@
+height=300
+sort=+time
+font=monospace 12
+default-timeout=15000
index 8d5c3e5e42d511a95678e7e29bdfc8116beb92f5..a0dc71bd56a3ad648a17de4369067cc7b97668e3 100644 (file)
@@ -48,3 +48,20 @@ monitor switch script:
     - mode: 750
     - template: jinja
 {% endif %}
+
+mako config dir:
+  file.directory:
+    - name: {{ grains['homedir'] }}/.config/mako
+    - user: {{ grains['user'] }}
+    - group: {{ grains['user'] }}
+    - dir_mode: 750
+    - makedirs: True
+
+mako config:
+  file.managed:
+    - name: {{ grains['homedir'] }}/.config/mako/config
+    - source: salt://sway/files/mako_config
+    - template: jinja
+    - user: {{ grains['user']}}
+    - group: {{ grains['user']}}
+    - mode: 640