From ceaec45f543c0cc96fb768e938886fe189f541f0 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 23 Aug 2024 07:10:35 +0200 Subject: [PATCH] Update templates --- templates/alacritty.j2 | 2 ++ templates/gitconfig.j2 | 2 ++ templates/mpd/ncmpc.j2 | 2 ++ templates/mpd/service.j2 | 3 +++ templates/mpd/socket.j2 | 3 +++ templates/mpv/config.j2 | 2 ++ templates/mpv/input.j2 | 2 ++ templates/pacman.j2 | 2 ++ templates/reflector.j2 | 2 ++ templates/ssh-agent.j2 | 2 ++ templates/timer/daily_target.j2 | 3 +++ templates/timer/daily_timer.j2 | 2 ++ templates/timer/weekly_target.j2 | 2 ++ templates/timer/weekly_timer.j2 | 2 ++ templates/tmux.j2 | 2 ++ 15 files changed, 33 insertions(+) diff --git a/templates/alacritty.j2 b/templates/alacritty.j2 index 8e14692..d8217d2 100644 --- a/templates/alacritty.j2 +++ b/templates/alacritty.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# import = [ "{{ xdg_config_dir }}/alacritty/include.toml" ] [selection] diff --git a/templates/gitconfig.j2 b/templates/gitconfig.j2 index 8391d19..0457357 100644 --- a/templates/gitconfig.j2 +++ b/templates/gitconfig.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# [user] email = sonny871@hotmail.com name = Sonny Bakker diff --git a/templates/mpd/ncmpc.j2 b/templates/mpd/ncmpc.j2 index 449f49e..2b02e99 100644 --- a/templates/mpd/ncmpc.j2 +++ b/templates/mpd/ncmpc.j2 @@ -1,3 +1,5 @@ +## {{ ansible_managed }} +# ## ## Configuration file for ncmpc (~/.config/ncmpc/config) ## diff --git a/templates/mpd/service.j2 b/templates/mpd/service.j2 index 985c13f..54d1304 100644 --- a/templates/mpd/service.j2 +++ b/templates/mpd/service.j2 @@ -1,3 +1,6 @@ +# {{ ansible_managed }} +# + [Unit] Description=Music Player Daemon Documentation=man:mpd(1) man:mpd.conf(5) diff --git a/templates/mpd/socket.j2 b/templates/mpd/socket.j2 index d479add..f6c6d2f 100644 --- a/templates/mpd/socket.j2 +++ b/templates/mpd/socket.j2 @@ -1,3 +1,6 @@ +# {{ ansible_managed }} +# + [Socket] ListenStream=/run/user/1000/mpd.socket ListenStream={{ mpd_listen_port }} diff --git a/templates/mpv/config.j2 b/templates/mpv/config.j2 index 3b24de0..fe1d4a6 100644 --- a/templates/mpv/config.j2 +++ b/templates/mpv/config.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# volume=100 sub-auto=fuzzy gpu-api=opengl diff --git a/templates/mpv/input.j2 b/templates/mpv/input.j2 index b2cfeb4..d5252d8 100644 --- a/templates/mpv/input.j2 +++ b/templates/mpv/input.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# ## Seek units are in seconds, but note that these are limited by keyframes RIGHT seek 5 LEFT seek -5 diff --git a/templates/pacman.j2 b/templates/pacman.j2 index a77bbeb..eec494e 100644 --- a/templates/pacman.j2 +++ b/templates/pacman.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# # /etc/pacman.conf # # Add environment specific settings in /etc/pacman.d/extra.conf diff --git a/templates/reflector.j2 b/templates/reflector.j2 index 97b701b..6d6eb4d 100644 --- a/templates/reflector.j2 +++ b/templates/reflector.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# # Reflector configuration file for the systemd service. # # Empty lines and lines beginning with "#" are ignored. All other lines should diff --git a/templates/ssh-agent.j2 b/templates/ssh-agent.j2 index 9428410..d625c48 100644 --- a/templates/ssh-agent.j2 +++ b/templates/ssh-agent.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# [Unit] Description=SSH key agent diff --git a/templates/timer/daily_target.j2 b/templates/timer/daily_target.j2 index c1eb670..e562de4 100644 --- a/templates/timer/daily_target.j2 +++ b/templates/timer/daily_target.j2 @@ -1,3 +1,6 @@ +# {{ ansible_managed }} +# +# # Add the following to your service unit to make use of this target: # Wants=daily.target # diff --git a/templates/timer/daily_timer.j2 b/templates/timer/daily_timer.j2 index 08ebc1a..4290470 100644 --- a/templates/timer/daily_timer.j2 +++ b/templates/timer/daily_timer.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# [Unit] Description=Timer which runs all services on a daily basis inside the daily.target.wants directory diff --git a/templates/timer/weekly_target.j2 b/templates/timer/weekly_target.j2 index 606a319..88109e6 100644 --- a/templates/timer/weekly_target.j2 +++ b/templates/timer/weekly_target.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# # Add the following to your service unit to make use of this target: # Wants=weekly.target # diff --git a/templates/timer/weekly_timer.j2 b/templates/timer/weekly_timer.j2 index 2a5ad77..00117a1 100644 --- a/templates/timer/weekly_timer.j2 +++ b/templates/timer/weekly_timer.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# [Unit] Description=Timer which runs all services on a weekly basis inside the weekly.target.wants directory diff --git a/templates/tmux.j2 b/templates/tmux.j2 index 0b1f6dd..1c035a1 100644 --- a/templates/tmux.j2 +++ b/templates/tmux.j2 @@ -1,3 +1,5 @@ +# {{ ansible_managed }} +# [Unit] Description=Tmux startup script