From: Maximilian Friedersdorff Date: Tue, 4 Oct 2022 09:25:17 +0000 (+0100) Subject: Configure some moar X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=cc380a1eeb2fd611cfb96574b44dd00e2e168b92;p=max%2Fsaltfiles.git Configure some moar --- diff --git a/states/sway/files/baryte b/states/sway/files/baryte index e2f7bc0..6503657 100644 --- a/states/sway/files/baryte +++ b/states/sway/files/baryte @@ -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 index 0000000..367e779 --- /dev/null +++ b/states/sway/files/mako_config @@ -0,0 +1,4 @@ +height=300 +sort=+time +font=monospace 12 +default-timeout=15000 diff --git a/states/sway/init.sls b/states/sway/init.sls index 8d5c3e5..a0dc71b 100644 --- a/states/sway/init.sls +++ b/states/sway/init.sls @@ -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