refactor: update paths for home reorganization

This commit is contained in:
fy59 2026-09-25 08:09:26 +02:00
parent d65f798039
commit dfad611822
10 changed files with 14 additions and 14 deletions

View file

@ -21,10 +21,10 @@ Ces éléments sont volontairement hors du dépôt de dotfiles. Les liens ou
unités du dépôt supposent leur présence à ces emplacements :
- `~/.local/src/arch-sentinel` fournit `~/.local/bin/arch-sentinel` ;
- `~/Documents/trainlog` fournit les exécutables et agents Trainlog ;
- `~/Documents/Development/trainlog` fournit les exécutables et agents Trainlog ;
- `~/Documents/Lardon` fournit la session FreeCAD et ses outils ;
- `~/Documents/labfy-remote-ui` fournit `labfy-remote-ui` ;
- `~/Applications/openmvs-2.4.0` fournit OpenMVS au pipeline `scan3d` ;
- `~/Documents/Development/labfy-remote-ui` fournit `labfy-remote-ui` ;
- `~/.local/opt/openmvs-2.4.0` fournit OpenMVS au pipeline `scan3d` ;
- `~/.codex/packages/standalone/current` fournit le lien utilisateur `codex`.
## Helpers système locaux

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
AUR_DIR="$HOME/Aur"
AUR_DIR="$HOME/.local/src/aur"
EDITOR_CMD="${EDITOR:-nvim}"
ASK_EDIT=0

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
AUR_DIR="$HOME/Aur"
AUR_DIR="$HOME/.local/src/aur"
RESET='\033[0m'
BOLD='\033[1m'

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -euo pipefail
AUR_DIR="${AUR_DIR:-$HOME/Aur}"
AUR_DIR="${AUR_DIR:-$HOME/.local/src/aur}"
END_UPDATE="Mis à jour avec succès ;p."
SYSTEM_NAME="$(cat /etc/hostname 2>/dev/null || echo "unknown")"

View file

@ -8,7 +8,7 @@ set -Eeuo pipefail
# Les photos originales ne sont jamais déplacées ni supprimées.
# Le script s'arrête avant l'ouverture de MeshLab.
OPENMVS_BIN="${OPENMVS_BIN:-$HOME/Applications/openmvs-2.4.0/openmvs}"
OPENMVS_BIN="${OPENMVS_BIN:-$HOME/.local/opt/openmvs-2.4.0/openmvs}"
OPENMVS_IMAGE="${OPENMVS_IMAGE:-localhost/openmvs:2.4.0}"
THREADS="${SCAN3D_THREADS:-4}"

View file

@ -1,6 +1,6 @@
file:///home/fy59/Documents/Lardon/lardon3d
file:///home/fy59/Downloads
file:///home/fy59/Ansible
file:///home/fy59/Documents/Infrastructure/ansible
file:///home/fy59/Documents
file:///home/fy59/Pictures/Assets
file:///home/fy59/Share

View file

@ -215,7 +215,7 @@ bindsym $mod+Alt+w exec gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Defau
bindsym $mod+Alt+v exec ~/.config/sway/scripts/copypast
bindsym $mod+Alt+c exec --no-startup-id kitty --app-id=lardon-freecad-log --title="Lardon · FreeCAD autopush" --directory=/home/fy59/Documents/Lardon /home/fy59/Documents/Lardon/tools/lardon-freecad-launcher
bindsym $mod+Alt+s exec sqlitebrowser
bindsym $mod+Alt+e exec sh -c 'cd /home/fy59/Documents/Enquetes/Template/labfy-investigation && exec ./labfy-investigation'
bindsym $mod+Alt+e exec sh -c 'cd /home/fy59/Documents/Investigations/Template/labfy-investigation && exec ./labfy-investigation'
bindsym $mod+Alt+n exec ~/.local/bin/nextcloud-sync
bindsym $mod+c exec codex-desktop

View file

@ -5,7 +5,7 @@ ConditionPathExists=/home/fy59/.config/trainlog/sync-generation-config-v1.json
[Service]
Type=simple
ExecCondition=/usr/bin/grep -Eq '"bluetooth_enabled"[[:space:]]*:[[:space:]]*true' "/home/fy59/.config/trainlog/sync-generation-config-v1.json"
ExecStart=/usr/bin/python3 "/home/fy59/Documents/trainlog/tools/trainlog_bt_agent.py" --config "/home/fy59/.config/trainlog/sync-generation-config-v1.json"
ExecStart=/usr/bin/python3 "/home/fy59/Documents/Development/trainlog/tools/trainlog_bt_agent.py" --config "/home/fy59/.config/trainlog/sync-generation-config-v1.json"
Restart=on-failure
RestartSec=2

View file

@ -3,9 +3,9 @@ Description=Trainlog automatic synchronization agent
[Service]
Type=simple
Environment=TRAINLOG_SYNC_BT_ADAPTER=/home/fy59/Documents/trainlog/tools/trainlog_generation_bt_adapter.py
Environment=TRAINLOG_SYNC_MTP_ADAPTER=/home/fy59/Documents/trainlog/build/tui/trainlog-generation-mtp-adapter
ExecStart=/usr/bin/python3 "/home/fy59/Documents/trainlog/tools/trainlog_syncd.py" --sync-once "/home/fy59/Documents/trainlog/build/tui/trainlog-sync-once" --bt-adapter "/home/fy59/Documents/trainlog/tools/trainlog_generation_bt_adapter.py" --mtp-adapter "/home/fy59/Documents/trainlog/build/tui/trainlog-generation-mtp-adapter" --interval 3
Environment=TRAINLOG_SYNC_BT_ADAPTER=/home/fy59/Documents/Development/trainlog/tools/trainlog_generation_bt_adapter.py
Environment=TRAINLOG_SYNC_MTP_ADAPTER=/home/fy59/Documents/Development/trainlog/build/tui/trainlog-generation-mtp-adapter
ExecStart=/usr/bin/python3 "/home/fy59/Documents/Development/trainlog/tools/trainlog_syncd.py" --sync-once "/home/fy59/Documents/Development/trainlog/build/tui/trainlog-sync-once" --bt-adapter "/home/fy59/Documents/Development/trainlog/tools/trainlog_generation_bt_adapter.py" --mtp-adapter "/home/fy59/Documents/Development/trainlog/build/tui/trainlog-generation-mtp-adapter" --interval 3
Restart=on-failure
RestartSec=2

View file

@ -2,7 +2,7 @@
_aurlist_dirs() {
local -a pkgs
local AUR_DIR=${AUR_DIR:-$HOME/Aur}
local AUR_DIR=${AUR_DIR:-$HOME/.local/src/aur}
pkgs=()
if [[ -d $AUR_DIR ]]; then