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.
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 dirty %}Run by: {{ ansible_env.SUDO_USER }}
{% else %}Author: {{ lookup('pipe', 'git log -n 1 --pretty=format:%an -- ' + template_path | quote) }}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
#!/bin/sh
# {{ ansible_managed }}
{{ ansible_header | comment }}
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).
# It will not be overwritten, so edit it as you like.
#
@ -33,8 +35,8 @@ title_align center
hide_edge_borders both
# Bindings for volume and light
bindsym XF86MonBrightnessDown exec light -U 10
bindsym XF86MonBrightnessUp exec light -A 10
bindsym XF86MonBrightnessDown exec light -U 1
bindsym XF86MonBrightnessUp exec light -A 1
bindsym XF86AudioRaiseVolume exec volume -A 5 && $refresh
bindsym XF86AudioLowerVolume exec volume -U 5 && $refresh
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 XF86Search exec dmenu_run -l 1
# Screenshots
bindsym Print exec scrot 'Pictures/Screenshots/%Y-%m-%d-%s.jpg'
bindsym --release Shift+Print exec scrot -s "Pictures/Screenshots/$(ls Pictures/Screenshots/ | dmenu)"
# Launch passmenu
bindsym $mod+t exec passmenu
# 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
bindsym $mod+Escape exec physlock
@ -229,3 +235,7 @@ bar {
status_command i3status
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.
# see "man i3status" for documentation.
@ -23,17 +25,17 @@ order += "tztime local"
ipv6 {
format_up = "IPV6"
format_up = "IPV6: %ip"
format_down = ""
}
wireless _first_ {
format_up = "W:%essid"
format_up = "W:%essid, %ip"
format_down = ""
}
ethernet _first_ {
format_up = "E: %speed"
format_up = "E: %ip, %speed"
format_down = ""
}
@ -45,7 +47,7 @@ battery all {
}
tztime local {
format = "%d-%m %H:%M"
format = "%d-%m %H:%M:%S"
}
volume master {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
@ -39,7 +41,7 @@
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use HOME to find
## .Xauthority file. Note that other programs use HOME to find
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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