Add a lot of ansible headers

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-03-17 23:33:31 +01:00
parent 7d401e9f00
commit b0d8cdaf72
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
22 changed files with 59 additions and 16 deletions

View File

@ -5,7 +5,7 @@ ansible_header: |
+++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++
Ansible managed, don't modify the file locally. Ansible managed, don't modify the file locally.
See https://gitlab.crans.org/nounous/ansible. See https://gitlab.crans.org/ynerant/templier-ansible.
{% if template_path is defined %}{% set _, rpath = template_path.split('roles/', 1) %}Commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git log -n 1 --pretty=format:%H -- ' + template_path | quote) }} {% if template_path is defined %}{% set _, rpath = template_path.split('roles/', 1) %}Commit: {% if dirty %}({{dirty}}) {% endif %}{{ lookup('pipe', 'git log -n 1 --pretty=format:%H -- ' + template_path | quote) }}
{% if dirty %}Run by: {{ ansible_env.SUDO_USER }} {% if dirty %}Run by: {{ ansible_env.SUDO_USER }}
{% else %}Author: {{ lookup('pipe', 'git log -n 1 --pretty=format:%an -- ' + template_path | quote) }} {% else %}Author: {{ lookup('pipe', 'git log -n 1 --pretty=format:%an -- ' + template_path | quote) }}

View File

@ -6,4 +6,5 @@ user:
laptop: laptop:
numpad: false numpad: false
resolution: 1080p resolution: 1080p
touchscreen: true
gpu: false gpu: false

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment('//') }}
// //
// Do any local configuration here // Do any local configuration here
// //

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
# DO NOT EDIT! This file will be overwritten by LXAppearance. # DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead. # Any customization should be done in ~/.gtkrc-2.0.mine instead.

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
[Icon Theme] [Icon Theme]
Name=Default Name=Default
Comment=Default Cursor Theme Comment=Default Cursor Theme

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
[Settings] [Settings]
gtk-theme-name=Adwaita-dark gtk-theme-name=Adwaita-dark
gtk-icon-theme-name=Adwaita gtk-icon-theme-name=Adwaita

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
# {{ ansible_managed }} {{ ansible_header | comment }}
echo "> Les recettes Docker-compose se trouvent dans /var/local/ansible-docker" echo "> Les recettes Docker-compose se trouvent dans /var/local/ansible-docker"

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
# This file has been auto-generated by i3-config-wizard(1). # This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like. # It will not be overwritten, so edit it as you like.
# #
@ -33,8 +35,8 @@ title_align center
hide_edge_borders both hide_edge_borders both
# Bindings for volume and light # Bindings for volume and light
bindsym XF86MonBrightnessDown exec light -U 10 bindsym XF86MonBrightnessDown exec light -U 1
bindsym XF86MonBrightnessUp exec light -A 10 bindsym XF86MonBrightnessUp exec light -A 1
bindsym XF86AudioRaiseVolume exec volume -A 5 && $refresh bindsym XF86AudioRaiseVolume exec volume -A 5 && $refresh
bindsym XF86AudioLowerVolume exec volume -U 5 && $refresh bindsym XF86AudioLowerVolume exec volume -U 5 && $refresh
bindsym Shift+XF86MonBrightnessDown exec light -U 1 bindsym Shift+XF86MonBrightnessDown exec light -U 1
@ -67,10 +69,14 @@ bindsym $mod+Shift+q kill
bindsym $mod+d exec dmenu_run -l 1 -p '[ ynerant@morgoth ~ ]' bindsym $mod+d exec dmenu_run -l 1 -p '[ ynerant@morgoth ~ ]'
bindsym XF86Search exec dmenu_run -l 1 bindsym XF86Search exec dmenu_run -l 1
# Screenshots # Launch passmenu
bindsym Print exec scrot 'Pictures/Screenshots/%Y-%m-%d-%s.jpg' bindsym $mod+t exec passmenu
bindsym --release Shift+Print exec scrot -s "Pictures/Screenshots/$(ls Pictures/Screenshots/ | dmenu)"
# Screenshots
bindsym --release Print exec screenshot
bindsym --release Control+Print exec screenshot -c
bindsym --release Shift+Print exec screenshot -s
bindsym --release Control+Shift+Print exec screenshot -s -c
# Binding to lock screen # Binding to lock screen
bindsym $mod+Escape exec physlock bindsym $mod+Escape exec physlock
@ -229,3 +235,7 @@ bar {
status_command i3status status_command i3status
strip_workspace_numbers yes strip_workspace_numbers yes
} }
{% if laptop.touchscreen %}
exec xinput --set-prop 13 "libinput Natural Scrolling Enabled" 1
{% endif %}

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
# i3status configuration file. # i3status configuration file.
# see "man i3status" for documentation. # see "man i3status" for documentation.
@ -23,17 +25,17 @@ order += "tztime local"
ipv6 { ipv6 {
format_up = "IPV6" format_up = "IPV6: %ip"
format_down = "" format_down = ""
} }
wireless _first_ { wireless _first_ {
format_up = "W:%essid" format_up = "W:%essid, %ip"
format_down = "" format_down = ""
} }
ethernet _first_ { ethernet _first_ {
format_up = "E: %speed" format_up = "E: %ip, %speed"
format_down = "" format_down = ""
} }
@ -45,7 +47,7 @@ battery all {
} }
tztime local { tztime local {
format = "%d-%m %H:%M" format = "%d-%m %H:%M:%S"
} }
volume master { volume master {

View File

@ -1,3 +1,4 @@
{{ ansible_header | comment }}
[Default Applications] [Default Applications]
text/html=firefox.desktop text/html=firefox.desktop

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
################## ##################
# video settings # # video settings #
################## ##################

View File

@ -1,3 +1,3 @@
{{ ansible_header | comment }}
set selection-clipboard clipboard set selection-clipboard clipboard
set recolor true
set recolor-lightcolor "#121212"

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
[global] [global]
### Display ### ### Display ###

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
# Please consider joining the pool: # Please consider joining the pool:
# #
# http://www.pool.ntp.org/join.html # http://www.pool.ntp.org/join.html

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
## sudoers file. ## sudoers file.
## ##
## This file MUST be edited with the 'visudo' command as root. ## This file MUST be edited with the 'visudo' command as root.

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
# This file is part of systemd. # This file is part of systemd.
# #
# systemd is free software; you can redistribute it and/or modify it # systemd is free software; you can redistribute it and/or modify it

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
[Service] [Service]
ExecStart= ExecStart=
ExecStart=-/usr/bin/agetty --autologin {{ user.name }} --noclear %I $TERM ExecStart=-/usr/bin/agetty --autologin {{ user.name }} --noclear %I $TERM

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
[Configuration] [Configuration]
MiscAlwaysShowTabs=FALSE MiscAlwaysShowTabs=FALSE
MiscBell=TRUE MiscBell=TRUE
@ -28,7 +30,7 @@ MiscSearchDialogOpacity=100
MiscShowUnsafePasteDialog=FALSE MiscShowUnsafePasteDialog=FALSE
TitleMode=TERMINAL_TITLE_HIDE TitleMode=TERMINAL_TITLE_HIDE
ScrollingBar=TERMINAL_SCROLLBAR_NONE ScrollingBar=TERMINAL_SCROLLBAR_NONE
FontName=Monospace 8 FontName=Monospace 12
ShortcutsNoMnemonics=TRUE ShortcutsNoMnemonics=TRUE
ShortcutsNoHelpkey=TRUE ShortcutsNoHelpkey=TRUE
ScrollingOnOutput=FALSE ScrollingOnOutput=FALSE

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
if has('autocmd') if has('autocmd')
filetype plugin indent on filetype plugin indent on
endif endif

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
Section "InputClass" Section "InputClass"
Identifier "touchpad" Identifier "touchpad"
Driver "libinput" Driver "libinput"

View File

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
{{ ansible_header | comment }}
~/.fehbg ~/.fehbg

View File

@ -1,8 +1,9 @@
{{ ansible_header | comment }}
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
dbus-update-activation-environment --systemd DISPLAY dbus-update-activation-environment --systemd DISPLAY
setxkbmap fr oss setxkbmap fr oss
xss-lock -- physlock -d & xss-lock -- physlock -d &
autorandr --change autorandr --change