refactor: update paths for home reorganization
This commit is contained in:
parent
d65f798039
commit
dfad611822
10 changed files with 14 additions and 14 deletions
|
|
@ -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 :
|
unités du dépôt supposent leur présence à ces emplacements :
|
||||||
|
|
||||||
- `~/.local/src/arch-sentinel` fournit `~/.local/bin/arch-sentinel` ;
|
- `~/.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/Lardon` fournit la session FreeCAD et ses outils ;
|
||||||
- `~/Documents/labfy-remote-ui` fournit `labfy-remote-ui` ;
|
- `~/Documents/Development/labfy-remote-ui` fournit `labfy-remote-ui` ;
|
||||||
- `~/Applications/openmvs-2.4.0` fournit OpenMVS au pipeline `scan3d` ;
|
- `~/.local/opt/openmvs-2.4.0` fournit OpenMVS au pipeline `scan3d` ;
|
||||||
- `~/.codex/packages/standalone/current` fournit le lien utilisateur `codex`.
|
- `~/.codex/packages/standalone/current` fournit le lien utilisateur `codex`.
|
||||||
|
|
||||||
## Helpers système locaux
|
## Helpers système locaux
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
AUR_DIR="$HOME/Aur"
|
AUR_DIR="$HOME/.local/src/aur"
|
||||||
EDITOR_CMD="${EDITOR:-nvim}"
|
EDITOR_CMD="${EDITOR:-nvim}"
|
||||||
|
|
||||||
ASK_EDIT=0
|
ASK_EDIT=0
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
AUR_DIR="$HOME/Aur"
|
AUR_DIR="$HOME/.local/src/aur"
|
||||||
|
|
||||||
RESET='\033[0m'
|
RESET='\033[0m'
|
||||||
BOLD='\033[1m'
|
BOLD='\033[1m'
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
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."
|
END_UPDATE="Mis à jour avec succès ;p."
|
||||||
SYSTEM_NAME="$(cat /etc/hostname 2>/dev/null || echo "unknown")"
|
SYSTEM_NAME="$(cat /etc/hostname 2>/dev/null || echo "unknown")"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ set -Eeuo pipefail
|
||||||
# Les photos originales ne sont jamais déplacées ni supprimées.
|
# Les photos originales ne sont jamais déplacées ni supprimées.
|
||||||
# Le script s'arrête avant l'ouverture de MeshLab.
|
# 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}"
|
OPENMVS_IMAGE="${OPENMVS_IMAGE:-localhost/openmvs:2.4.0}"
|
||||||
|
|
||||||
THREADS="${SCAN3D_THREADS:-4}"
|
THREADS="${SCAN3D_THREADS:-4}"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
file:///home/fy59/Documents/Lardon/lardon3d
|
file:///home/fy59/Documents/Lardon/lardon3d
|
||||||
file:///home/fy59/Downloads
|
file:///home/fy59/Downloads
|
||||||
file:///home/fy59/Ansible
|
file:///home/fy59/Documents/Infrastructure/ansible
|
||||||
file:///home/fy59/Documents
|
file:///home/fy59/Documents
|
||||||
file:///home/fy59/Pictures/Assets
|
file:///home/fy59/Pictures/Assets
|
||||||
file:///home/fy59/Share
|
file:///home/fy59/Share
|
||||||
|
|
|
||||||
|
|
@ -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+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+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+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+Alt+n exec ~/.local/bin/nextcloud-sync
|
||||||
bindsym $mod+c exec codex-desktop
|
bindsym $mod+c exec codex-desktop
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ ConditionPathExists=/home/fy59/.config/trainlog/sync-generation-config-v1.json
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecCondition=/usr/bin/grep -Eq '"bluetooth_enabled"[[:space:]]*:[[:space:]]*true' "/home/fy59/.config/trainlog/sync-generation-config-v1.json"
|
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
|
Restart=on-failure
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ Description=Trainlog automatic synchronization agent
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Environment=TRAINLOG_SYNC_BT_ADAPTER=/home/fy59/Documents/trainlog/tools/trainlog_generation_bt_adapter.py
|
Environment=TRAINLOG_SYNC_BT_ADAPTER=/home/fy59/Documents/Development/trainlog/tools/trainlog_generation_bt_adapter.py
|
||||||
Environment=TRAINLOG_SYNC_MTP_ADAPTER=/home/fy59/Documents/trainlog/build/tui/trainlog-generation-mtp-adapter
|
Environment=TRAINLOG_SYNC_MTP_ADAPTER=/home/fy59/Documents/Development/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
|
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
|
Restart=on-failure
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
_aurlist_dirs() {
|
_aurlist_dirs() {
|
||||||
local -a pkgs
|
local -a pkgs
|
||||||
local AUR_DIR=${AUR_DIR:-$HOME/Aur}
|
local AUR_DIR=${AUR_DIR:-$HOME/.local/src/aur}
|
||||||
|
|
||||||
pkgs=()
|
pkgs=()
|
||||||
if [[ -d $AUR_DIR ]]; then
|
if [[ -d $AUR_DIR ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue