diff --git a/.config/gtk-3.0/bookmarks b/.config/gtk-3.0/bookmarks index b017d24..b4b072e 100644 --- a/.config/gtk-3.0/bookmarks +++ b/.config/gtk-3.0/bookmarks @@ -10,4 +10,5 @@ file:///home/lucas/Nextcloud 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/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 diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini index 6530dbc..13d0067 100644 --- a/.config/gtk-3.0/settings.ini +++ b/.config/gtk-3.0/settings.ini @@ -14,4 +14,4 @@ gtk-xft-antialias=1 gtk-xft-hinting=1 gtk-xft-hintstyle=hintslight gtk-xft-rgba=rgb -gtk-application-prefer-dark-theme=0 +gtk-application-prefer-dark-theme=1 diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index 501c2af..a5fee90 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -35,7 +35,8 @@ hl.env("SDL_VIDEODRIVER", "wayland") hl.env("CLUTTER_BACKEND", "wayland") -- 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") -- Curseur diff --git a/.config/hypr/scripts/autostart.sh b/.config/hypr/scripts/autostart.sh index 920d1c3..5a65094 100755 --- a/.config/hypr/scripts/autostart.sh +++ b/.config/hypr/scripts/autostart.sh @@ -31,7 +31,7 @@ fi # === 7. Gestion du presse-papiers (cliphist) === wl-paste --type text --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 === pgrep -x "polkit-kde-authentication-agent-1" >/dev/null || /usr/lib/polkit-kde-authentication-agent-1 & \ No newline at end of file diff --git a/.config/hyprdynamicmonitors/config-eco.toml b/.config/hyprdynamicmonitors/config-eco.toml index 2fc0f45..dc2e3ca 100644 --- a/.config/hyprdynamicmonitors/config-eco.toml +++ b/.config/hyprdynamicmonitors/config-eco.toml @@ -36,4 +36,7 @@ monitor_tag = "monitor0" [fallback_profile] config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback-eco.go.tmpl" -config_file_type = "template" \ No newline at end of file +config_file_type = "template" + +[notifications] +disabled = true \ No newline at end of file diff --git a/.config/hyprdynamicmonitors/config-power.toml b/.config/hyprdynamicmonitors/config-power.toml index 09e36fd..d3c2381 100644 --- a/.config/hyprdynamicmonitors/config-power.toml +++ b/.config/hyprdynamicmonitors/config-power.toml @@ -36,4 +36,7 @@ monitor_tag = "monitor0" [fallback_profile] config_file = "/home/lucas/.config/hyprdynamicmonitors/hyprconfigs/fallback.go.tmpl" -config_file_type = "template" \ No newline at end of file +config_file_type = "template" + +[notifications] +disabled = true \ No newline at end of file diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 552ba70..b90b812 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -32,7 +32,7 @@ text/x-shellscript=codium.desktop x-scheme-handler/http=firefox.desktop; x-scheme-handler/https=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-html=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-shellscript=codium.desktop; text/x-python3=codium.desktop; +application/vnd.oasis.opendocument.spreadsheet=com.collaboraoffice.Office.desktop;onlyoffice-desktopeditors.desktop; +image/svg+xml=firefox.desktop; diff --git a/.config/systemd/user/cliphist-wipe.service b/.config/systemd/user/cliphist-wipe.service new file mode 100644 index 0000000..3e03536 --- /dev/null +++ b/.config/systemd/user/cliphist-wipe.service @@ -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 diff --git a/.config/systemd/user/default.target.wants/cliphist-wipe.service b/.config/systemd/user/default.target.wants/cliphist-wipe.service new file mode 120000 index 0000000..62e359b --- /dev/null +++ b/.config/systemd/user/default.target.wants/cliphist-wipe.service @@ -0,0 +1 @@ +/home/lucas/.config/systemd/user/cliphist-wipe.service \ No newline at end of file diff --git a/scripts/pkglist_officiel.txt b/scripts/pkglist_officiel.txt index 15c1184..5f03186 100644 --- a/scripts/pkglist_officiel.txt +++ b/scripts/pkglist_officiel.txt @@ -156,6 +156,7 @@ rtpmidid-bin rustdesk-bin sane-airscan sbctl +scrcpy sddm sddm-theme-catppuccin-git seahorse @@ -193,9 +194,6 @@ waybar websocat wget whois -wine -wine-gecko -wine-mono wireguard-tools wl-clipboard wlogout diff --git a/scripts/scrcpy.sh b/scripts/scrcpy.sh new file mode 100755 index 0000000..d361233 --- /dev/null +++ b/scripts/scrcpy.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +SDL_VIDEODRIVER=x11 scrcpy --keyboard=uhid diff --git a/scripts/unlock-m70s.sh b/scripts/unlock-m70s.sh new file mode 100755 index 0000000..f97b2c5 --- /dev/null +++ b/scripts/unlock-m70s.sh @@ -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