From a3fcaf9d2755536d3a3ff5136896baf202c15af0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Mon, 17 Jun 2024 18:45:35 +0200 Subject: [PATCH] unprocessed: Cleanup --- unprocessed/config/automatrop/README.md | 10 ----- unprocessed/config/automatrop/ansible.cfg | 9 ---- unprocessed/config/automatrop/group_vars/all | 34 -------------- .../host_vars/curacao.geoffrey.frogeye.fr | 30 ------------- .../host_vars/gho.geoffrey.frogeye.fr | 14 ------ unprocessed/config/automatrop/hosts | 4 -- .../config/automatrop/playbooks/default.yml | 10 ----- .../roles/vdirsyncer/templates/config.j2 | 44 ------------------- unprocessed/config/autorandr/.dfrecur | 0 unprocessed/config/autorandr/bg | 4 -- unprocessed/config/autorandr/postswitch | 32 -------------- unprocessed/config/j4status/config | 26 ----------- unprocessed/config/linuxColors.sh | 24 ---------- .../config/tridactyl/themes/.gitignore | 1 - unprocessed/config/vdirsyncer/.dfrecur | 0 15 files changed, 242 deletions(-) delete mode 100644 unprocessed/config/automatrop/README.md delete mode 100644 unprocessed/config/automatrop/ansible.cfg delete mode 100644 unprocessed/config/automatrop/group_vars/all delete mode 100644 unprocessed/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr delete mode 100644 unprocessed/config/automatrop/host_vars/gho.geoffrey.frogeye.fr delete mode 100644 unprocessed/config/automatrop/hosts delete mode 100644 unprocessed/config/automatrop/playbooks/default.yml delete mode 100644 unprocessed/config/automatrop/roles/vdirsyncer/templates/config.j2 delete mode 100644 unprocessed/config/autorandr/.dfrecur delete mode 100644 unprocessed/config/autorandr/bg delete mode 100755 unprocessed/config/autorandr/postswitch delete mode 100644 unprocessed/config/j4status/config delete mode 100644 unprocessed/config/linuxColors.sh delete mode 100644 unprocessed/config/tridactyl/themes/.gitignore delete mode 100644 unprocessed/config/vdirsyncer/.dfrecur diff --git a/unprocessed/config/automatrop/README.md b/unprocessed/config/automatrop/README.md deleted file mode 100644 index 99be506..0000000 --- a/unprocessed/config/automatrop/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Automatrop - -Because I'm getting tired of too many bash scripts and yet using Ansible seems -overkill at the same time. - -## Dependencies - -```bash -ansible-galaxy install mnussbaum.base16-builder-ansible -``` diff --git a/unprocessed/config/automatrop/ansible.cfg b/unprocessed/config/automatrop/ansible.cfg deleted file mode 100644 index 6d8116e..0000000 --- a/unprocessed/config/automatrop/ansible.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[defaults] -inventory=hosts -roles_path=roles -interpreter_python=auto -library=plugins/modules - -[ssh_connection] -pipelining = True # does not work with requiretty in /etc/sudoers -ssh_args=-o ForwardAgent=yes # no need for installing/configuring/unlocking SSH/GPG keys on the host to be able to git clone extensions diff --git a/unprocessed/config/automatrop/group_vars/all b/unprocessed/config/automatrop/group_vars/all deleted file mode 100644 index 4458a65..0000000 --- a/unprocessed/config/automatrop/group_vars/all +++ /dev/null @@ -1,34 +0,0 @@ -# Default values - -# If you have root access on the machine (via sudo) -root_access: no - -# Display server (no, "x11", "wayland") -display_server: no - -# What development work will I do on this machine -dev_stuffs: [] - -# Install software that is rarely used -software_full: no - -# Which additional software to install -software_snippets: [] - -# If the computer has a battery and we want to use it -has_battery: no - -# Activate numlock by default -auto_numlock: no - -# Machine has SSH key to access git.frogeye.fr -has_forge_access: no - -# Wether to permit /home/$USER to be encrypted -# with stacked filesystem encryption -encrypt_home_stacked_fs: no - -# Which extensions to load -extensions: [] - -# TODO Make role/playbook defaults instead diff --git a/unprocessed/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr b/unprocessed/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr deleted file mode 100644 index bdb9175..0000000 --- a/unprocessed/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr +++ /dev/null @@ -1,30 +0,0 @@ -root_access: yes -display_server: "x11" -dev_stuffs: - - ansible - - docker - - network - - nix - - perl - - php - - python - - shell - - sql -software_full: yes -has_battery: yes -auto_numlock: yes -has_forge_access: yes -extensions: - - g - - gh -x11_screens: -# nvidia-xrun - # - HDMI-0 - # - eDP-1-1 -# mesa + nouveau - # - HDMI-1-3 - # - eDP1 -# mesa + nvidia - - HDMI-1-0 - - eDP1 -max_video_height: 1440 diff --git a/unprocessed/config/automatrop/host_vars/gho.geoffrey.frogeye.fr b/unprocessed/config/automatrop/host_vars/gho.geoffrey.frogeye.fr deleted file mode 100644 index 4b885a1..0000000 --- a/unprocessed/config/automatrop/host_vars/gho.geoffrey.frogeye.fr +++ /dev/null @@ -1,14 +0,0 @@ -root_access: no -display_server: "x11" -dev_stuffs: - - shell - - network - - ansible - - perl - - python -extensions: - - gh -x11_screens: - - HDMI-1 - - HDMI-2 -base16_scheme: solarized-light diff --git a/unprocessed/config/automatrop/hosts b/unprocessed/config/automatrop/hosts deleted file mode 100644 index bc23e54..0000000 --- a/unprocessed/config/automatrop/hosts +++ /dev/null @@ -1,4 +0,0 @@ -curacao.geoffrey.frogeye.fr -# triffle.geoffrey.frogeye.fr -pindakaas.geoffrey.frogeye.fr -gho.geoffrey.frogeye.fr ansible_host=localhost ansible_port=2222 diff --git a/unprocessed/config/automatrop/playbooks/default.yml b/unprocessed/config/automatrop/playbooks/default.yml deleted file mode 100644 index f4950ff..0000000 --- a/unprocessed/config/automatrop/playbooks/default.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Default - hosts: all - roles: - - role: system - tags: system - when: root_access - - role: termux - tags: termux - when: termux diff --git a/unprocessed/config/automatrop/roles/vdirsyncer/templates/config.j2 b/unprocessed/config/automatrop/roles/vdirsyncer/templates/config.j2 deleted file mode 100644 index dcf2c9f..0000000 --- a/unprocessed/config/automatrop/roles/vdirsyncer/templates/config.j2 +++ /dev/null @@ -1,44 +0,0 @@ -[general] -status_path = "~/.cache/vdirsyncer/status/" - -{% for config in configs %} - -# CarDAV - -[pair geoffrey_contacts] -a = "geoffrey_contacts_local" -b = "geoffrey_contacts_remote" -collections = ["from a", "from b"] -metadata = ["displayname"] - -[storage geoffrey_contacts_local] -type = "filesystem" -path = "~/.cache/vdirsyncer/contacts/" -fileext = ".vcf" - -[storage geoffrey_contacts_remote] -type = "carddav" -url = "https://cloud.frogeye.fr/remote.php/dav" -username = "geoffrey" -password.fetch = ["command", "sh", "-c", "cat ~/.config/vdirsyncer/pass"] - -# CalDAV - -[pair geoffrey_calendar] -a = "geoffrey_calendar_local" -b = "geoffrey_calendar_remote" -collections = ["from a", "from b"] -metadata = ["displayname", "color"] - -[storage geoffrey_calendar_local] -type = "filesystem" -path = "~/.cache/vdirsyncer/calendars/" -fileext = ".ics" - -[storage geoffrey_calendar_remote] -type = "caldav" -url = "https://cloud.frogeye.fr/remote.php/dav" -username = "geoffrey" -password.fetch = ["command", "sh", "-c", "cat ~/.config/vdirsyncer/pass"] - -{% endfor %} diff --git a/unprocessed/config/autorandr/.dfrecur b/unprocessed/config/autorandr/.dfrecur deleted file mode 100644 index e69de29..0000000 diff --git a/unprocessed/config/autorandr/bg b/unprocessed/config/autorandr/bg deleted file mode 100644 index 91b38c0..0000000 --- a/unprocessed/config/autorandr/bg +++ /dev/null @@ -1,4 +0,0 @@ -# https://i.imgur.com/yVtVucs.jpg # Doctor Who Series 11 -# Derivate of these ones https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-230622.png -# https://geoffrey.frogeye.fr/files/backgrounds/VertBleu.png -https://geoffrey.frogeye.fr/files/backgrounds/BleuVert.png diff --git a/unprocessed/config/autorandr/postswitch b/unprocessed/config/autorandr/postswitch deleted file mode 100755 index bc03c7f..0000000 --- a/unprocessed/config/autorandr/postswitch +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" -# From https://stackoverflow.com/a/246128 - -# Relaunch the bars -# i3-msg exec ~/.config/polybar/launch.sh -# TODO Make something better with that -i3-msg exec ~/.config/lemonbar/launch.sh - -# Resize background -BGDIR="$HOME/.cache/background" -mkdir -p "$BGDIR" - -list="$DIR/bg" -url="$(cat "$list" | sed -e 's/#.*$//' -e 's/ \+$//' -e '/^$/d' | sort -R | head -1)" - -hash="$(printf "$url" | md5sum | cut -f1 -d' ')" -filepath="$BGDIR/$hash" - -if [ ! -e "$filepath" ]; then - wget -c "$url" -O "$filepath" -fi - -feh --no-fehbg --bg-fill "$filepath" - -# Make i3 distribute the workspaces on all screens -monitors_json="$(xrandr --listmonitors | tail -n+2 | awk '{ print $4 }' | sed 's|.\+|"\0"|' | tr '\n' ',')" -automatrop -e '{"x11_screens":['"$monitors_json"']}' --tags i3 - -# TODO Make sure it goes from left to right -# Either with the "main" display or using the geometry data diff --git a/unprocessed/config/j4status/config b/unprocessed/config/j4status/config deleted file mode 100644 index 5774701..0000000 --- a/unprocessed/config/j4status/config +++ /dev/null @@ -1,26 +0,0 @@ -[Plugins] -Output=i3bar -Input=nm;pulseaudio;upower;time -Order=nm;pulseaudio;upower;time - -[Time] -Zones=Europe/Paris; - -[PulseAudio] -#Actions=raise - -[NetworkManager] -Interfaces=enp3s0;wlp2s0 -HideUnavailable=true - -[Override pulseaudio:auto_null] -Label=🔊 - -[Override nm-wifi:wlp2s0] -Label=📶 - -[Override time:Europe/Paris] -Label=🕗 - -[Override upower-battery:BAT0] -Label=🔋 diff --git a/unprocessed/config/linuxColors.sh b/unprocessed/config/linuxColors.sh deleted file mode 100644 index 90fc1e6..0000000 --- a/unprocessed/config/linuxColors.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -if [ "$TERM" = "linux" ]; then - /bin/echo -e " - \e]P048483e - \e]P1dc2566 - \e]P28fc029 - \e]P3d4c96e - \e]P455bcce - \e]P59358fe - \e]P656b7a5 - \e]P7acada1 - \e]P876715e - \e]P9fa2772 - \e]PAa7e22e - \e]PBe7db75 - \e]PC66d9ee - \e]PDae82ff - \e]PE66efd5 - \e]PFcfd0c2 - " - # get rid of artifacts - # clear -fi - diff --git a/unprocessed/config/tridactyl/themes/.gitignore b/unprocessed/config/tridactyl/themes/.gitignore deleted file mode 100644 index 2accf68..0000000 --- a/unprocessed/config/tridactyl/themes/.gitignore +++ /dev/null @@ -1 +0,0 @@ -theme.css diff --git a/unprocessed/config/vdirsyncer/.dfrecur b/unprocessed/config/vdirsyncer/.dfrecur deleted file mode 100644 index e69de29..0000000