Add a lot of ansible headers

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

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 {