Compare commits

..

No commits in common. "59181b277286fc9c6d4e8f98d65f43307de4624b" and "28e120146b42fbb498c0cc1eb5f127844590198e" have entirely different histories.

5 changed files with 0 additions and 24 deletions

View file

@ -12,8 +12,5 @@ highlight
{# For nvim's :Telescope live_grep #} {# For nvim's :Telescope live_grep #}
ripgrep ripgrep
{# Offline documentation #} {# Offline documentation #}
{% if arch_based and ansible_architecture == 'x86_64' %}
{# Pain to compile if binaries for qt5-webkit do not exist #}
zeal zeal
{% endif %}
{# EOF #} {# EOF #}

View file

@ -20,11 +20,7 @@ so we're using a `ssid` attribute, which default to the names for SSIDs without
{% set suffixes = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=suffixes') or [''] %} {% set suffixes = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=suffixes') or [''] %}
{% set ssid = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=ssid') or name %} {% set ssid = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=ssid') or name %}
{% set type = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=type') or 'wpa' %} {% set type = lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=type') or 'wpa' %}
{% if type in ('wpa', 'wep', 'wpa-eap') %}
{% set pass = lookup('community.general.passwordstore', 'wifi/' + name) %} {% set pass = lookup('community.general.passwordstore', 'wifi/' + name) %}
{% else %}
{% set pass = 'Error, no pass for type ' + type %}
{% endif %}
# {{ name }} # {{ name }}
{% for suffix in suffixes %} {% for suffix in suffixes %}
network={ network={
@ -34,14 +30,6 @@ network={
{% elif type == 'wep' %} {% elif type == 'wep' %}
key_mgmt=NONE key_mgmt=NONE
wep_key0={{ pass }} wep_key0={{ pass }}
{% elif type == 'wpa-eap' %}
key_mgmt=WPA-EAP
eap={{ lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=eap') }}
identity="{{ lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=identity') }}"
password="{{ pass }}"
ca_cert="{{ lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=ca_cert') }}"
altsubject_match="{{ lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=altsubject_match') }}"
phase2="{{ lookup('community.general.passwordstore', 'wifi/' + name + ' subkey=phase2') }}"
{% elif type == 'open' %} {% elif type == 'open' %}
key_mgmt=NONE key_mgmt=NONE
{% else %} {% else %}

View file

@ -3,8 +3,5 @@
if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ] if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ]
then then
echo 10000 | sudo tee /sys/class/backlight/intel_backlight/brightness echo 10000 | sudo tee /sys/class/backlight/intel_backlight/brightness
elif [ "$(cat /etc/hostname)" = "pindakaas.geoffrey.frogeye.fr" ]
then
echo 3000 | sudo tee /sys/class/backlight/edp-backlight/brightness
fi fi
automatrop -e base16_scheme=solarized-dark --tags color automatrop -e base16_scheme=solarized-dark --tags color

View file

@ -3,8 +3,5 @@
if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ] if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ]
then then
echo 40000 | sudo tee /sys/class/backlight/intel_backlight/brightness echo 40000 | sudo tee /sys/class/backlight/intel_backlight/brightness
elif [ "$(cat /etc/hostname)" = "pindakaas.geoffrey.frogeye.fr" ]
then
echo 3500 | sudo tee /sys/class/backlight/edp-backlight/brightness
fi fi
automatrop -e base16_scheme=solarized-light --tags color automatrop -e base16_scheme=solarized-light --tags color

View file

@ -3,8 +3,5 @@
if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ] if [ "$(cat /etc/hostname)" = "curacao.geoffrey.frogeye.fr" ]
then then
echo 1 | sudo tee /sys/class/backlight/intel_backlight/brightness echo 1 | sudo tee /sys/class/backlight/intel_backlight/brightness
elif [ "$(cat /etc/hostname)" = "pindakaas.geoffrey.frogeye.fr" ]
then
echo 700 | sudo tee /sys/class/backlight/edp-backlight/brightness
fi fi
automatrop -e base16_scheme=solarized-dark --tags color automatrop -e base16_scheme=solarized-dark --tags color