backup 2026-09-16
This commit is contained in:
@@ -10,4 +10,5 @@ file:///home/lucas/Nextcloud
|
|||||||
file:///home/lucas/Nextcloud2
|
file:///home/lucas/Nextcloud2
|
||||||
file:///home/lucas/Nextcloud2/03.%20Associatif/V%C3%A9lo%20Boom%20Boom
|
file:///home/lucas/Nextcloud2/03.%20Associatif/V%C3%A9lo%20Boom%20Boom
|
||||||
file:///home/lucas/Nextcloud2/03.%20Associatif/V%C3%A9lo%20Boom%20Boom/01%20Communication
|
file:///home/lucas/Nextcloud2/03.%20Associatif/V%C3%A9lo%20Boom%20Boom/01%20Communication
|
||||||
sftp://lucas@vps-eb9864cc.vps.ovh.net:34567/home/lucas
|
sftp://lucas@nas.lucasroyer.fr:34567/home/lucas/services/streaming/media Streaming m70s
|
||||||
|
sftp://lucas@vps-eb9864cc.vps.ovh.net:34567/home/lucas/services VPS1
|
||||||
|
|||||||
@@ -14,4 +14,4 @@ gtk-xft-antialias=1
|
|||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle=hintslight
|
gtk-xft-hintstyle=hintslight
|
||||||
gtk-xft-rgba=rgb
|
gtk-xft-rgba=rgb
|
||||||
gtk-application-prefer-dark-theme=0
|
gtk-application-prefer-dark-theme=1
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ hl.env("SDL_VIDEODRIVER", "wayland")
|
|||||||
hl.env("CLUTTER_BACKEND", "wayland")
|
hl.env("CLUTTER_BACKEND", "wayland")
|
||||||
|
|
||||||
-- Thème
|
-- Thème
|
||||||
hl.env("GTK_THEME", "Adwaita:dark")
|
-- hl.env("GTK_THEME", "Adwaita:dark")
|
||||||
|
hl.env("GTK_THEME", "catppuccin-mocha-mauve-standard+default")
|
||||||
hl.env("QT_STYLE_OVERRIDE", "adwaita-dark")
|
hl.env("QT_STYLE_OVERRIDE", "adwaita-dark")
|
||||||
|
|
||||||
-- Curseur
|
-- Curseur
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ fi
|
|||||||
# === 7. Gestion du presse-papiers (cliphist) ===
|
# === 7. Gestion du presse-papiers (cliphist) ===
|
||||||
wl-paste --type text --watch cliphist store &
|
wl-paste --type text --watch cliphist store &
|
||||||
wl-paste --type image --watch cliphist store &
|
wl-paste --type image --watch cliphist store &
|
||||||
wl-paste --primary --type text --watch cliphist store &
|
# wl-paste --primary --type text --watch cliphist store &
|
||||||
|
|
||||||
# === 8. Agent d’authentification Polkit ===
|
# === 8. Agent d’authentification Polkit ===
|
||||||
pgrep -x "polkit-kde-authentication-agent-1" >/dev/null || /usr/lib/polkit-kde-authentication-agent-1 &
|
pgrep -x "polkit-kde-authentication-agent-1" >/dev/null || /usr/lib/polkit-kde-authentication-agent-1 &
|
||||||
@@ -37,3 +37,6 @@ monitor_tag = "monitor0"
|
|||||||
[fallback_profile]
|
[fallback_profile]
|
||||||
config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback-eco.go.tmpl"
|
config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback-eco.go.tmpl"
|
||||||
config_file_type = "template"
|
config_file_type = "template"
|
||||||
|
|
||||||
|
[notifications]
|
||||||
|
disabled = true
|
||||||
@@ -37,3 +37,6 @@ monitor_tag = "monitor0"
|
|||||||
[fallback_profile]
|
[fallback_profile]
|
||||||
config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback.go.tmpl"
|
config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback.go.tmpl"
|
||||||
config_file_type = "template"
|
config_file_type = "template"
|
||||||
|
|
||||||
|
[notifications]
|
||||||
|
disabled = true
|
||||||
@@ -32,7 +32,7 @@ text/x-shellscript=codium.desktop
|
|||||||
x-scheme-handler/http=firefox.desktop;
|
x-scheme-handler/http=firefox.desktop;
|
||||||
x-scheme-handler/https=firefox.desktop;
|
x-scheme-handler/https=firefox.desktop;
|
||||||
x-scheme-handler/chrome=firefox.desktop;
|
x-scheme-handler/chrome=firefox.desktop;
|
||||||
text/html=firefox.desktop;
|
text/html=codium.desktop;firefox.desktop;
|
||||||
application/x-extension-htm=firefox.desktop;
|
application/x-extension-htm=firefox.desktop;
|
||||||
application/x-extension-html=firefox.desktop;
|
application/x-extension-html=firefox.desktop;
|
||||||
application/x-extension-shtml=firefox.desktop;
|
application/x-extension-shtml=firefox.desktop;
|
||||||
@@ -57,3 +57,5 @@ video/quicktime=mpv.desktop;
|
|||||||
text/x-ssa=codium.desktop;org.aegisub.Aegisub.desktop;
|
text/x-ssa=codium.desktop;org.aegisub.Aegisub.desktop;
|
||||||
text/x-shellscript=codium.desktop;
|
text/x-shellscript=codium.desktop;
|
||||||
text/x-python3=codium.desktop;
|
text/x-python3=codium.desktop;
|
||||||
|
application/vnd.oasis.opendocument.spreadsheet=com.collaboraoffice.Office.desktop;onlyoffice-desktopeditors.desktop;
|
||||||
|
image/svg+xml=firefox.desktop;
|
||||||
|
|||||||
9
.config/systemd/user/cliphist-wipe.service
Normal file
9
.config/systemd/user/cliphist-wipe.service
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Vide l'historique du presse-papiers à l'ouverture de session
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/cliphist wipe
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
1
.config/systemd/user/default.target.wants/cliphist-wipe.service
Symbolic link
1
.config/systemd/user/default.target.wants/cliphist-wipe.service
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/home/lucas/.config/systemd/user/cliphist-wipe.service
|
||||||
@@ -156,6 +156,7 @@ rtpmidid-bin
|
|||||||
rustdesk-bin
|
rustdesk-bin
|
||||||
sane-airscan
|
sane-airscan
|
||||||
sbctl
|
sbctl
|
||||||
|
scrcpy
|
||||||
sddm
|
sddm
|
||||||
sddm-theme-catppuccin-git
|
sddm-theme-catppuccin-git
|
||||||
seahorse
|
seahorse
|
||||||
@@ -193,9 +194,6 @@ waybar
|
|||||||
websocat
|
websocat
|
||||||
wget
|
wget
|
||||||
whois
|
whois
|
||||||
wine
|
|
||||||
wine-gecko
|
|
||||||
wine-mono
|
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wlogout
|
wlogout
|
||||||
|
|||||||
2
scripts/scrcpy.sh
Executable file
2
scripts/scrcpy.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
SDL_VIDEODRIVER=x11 scrcpy --keyboard=uhid
|
||||||
38
scripts/unlock-m70s.sh
Executable file
38
scripts/unlock-m70s.sh
Executable file
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# unlock-m70s.sh — attend que m70s réponde, puis ouvre la session dropbear
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
HOST="nas.lucasroyer.fr"
|
||||||
|
PORT="34567"
|
||||||
|
MAX_WAIT=300
|
||||||
|
INTERVAL=5
|
||||||
|
|
||||||
|
echo "Attente que $HOST:$PORT réponde..."
|
||||||
|
elapsed=0
|
||||||
|
until (exec 3<>"/dev/tcp/$HOST/$PORT") 2>/dev/null; do
|
||||||
|
sleep "$INTERVAL"
|
||||||
|
elapsed=$((elapsed + INTERVAL))
|
||||||
|
if [ "$elapsed" -ge "$MAX_WAIT" ]; then
|
||||||
|
echo "Timeout après ${MAX_WAIT}s — port toujours injoignable."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo " ... toujours en attente (${elapsed}s)"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Port ouvert, connexion en cours..."
|
||||||
|
echo "(la vraie invite apparaîtra juste en dessous si tout va bien — ne tape rien avant)"
|
||||||
|
|
||||||
|
ssh -p "$PORT" \
|
||||||
|
-o HostKeyAlias=m70s-dropbear \
|
||||||
|
-o StrictHostKeyChecking=accept-new \
|
||||||
|
-o ConnectTimeout=10 \
|
||||||
|
-t root@"$HOST"
|
||||||
|
|
||||||
|
status=$?
|
||||||
|
|
||||||
|
if [ $status -eq 0 ]; then
|
||||||
|
echo "Session fermée normalement. Si le déverrouillage a réussi, m70s termine son boot."
|
||||||
|
else
|
||||||
|
echo "La connexion SSH a échoué (code $status) — la passphrase n'a probablement PAS été demandée."
|
||||||
|
echo "Ne la retape pas ailleurs. Vérifie l'état de m70s avant de relancer le script."
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user