diff --git a/atuin/.config/atuin/themes/catppuccin.toml b/atuin/.config/atuin/themes/catppuccin.toml index ade651915..1afd60865 100644 --- a/atuin/.config/atuin/themes/catppuccin.toml +++ b/atuin/.config/atuin/themes/catppuccin.toml @@ -1,5 +1,5 @@ [theme] -name = "catppuccin-mocha-lavender" +name = "catppuccin" [colors] AlertInfo = "#a6e3a1" diff --git a/fzf/.config/fzf/catppuccin-fzff-mocha.sh b/fzf/.config/fzf/catppuccin-fzff-mocha.sh new file mode 100755 index 000000000..75da5d31b --- /dev/null +++ b/fzf/.config/fzf/catppuccin-fzff-mocha.sh @@ -0,0 +1,6 @@ +export FZF_DEFAULT_OPTS=" \ +--color=bg+:#313244,bg:#1E1E2E,spinner:#F5E0DC,hl:#F38BA8 \ +--color=fg:#CDD6F4,header:#F38BA8,info:#CBA6F7,pointer:#F5E0DC \ +--color=marker:#B4BEFE,fg+:#CDD6F4,prompt:#CBA6F7,hl+:#F38BA8 \ +--color=selected-bg:#45475A \ +--color=border:#6C7086,label:#CDD6F4" diff --git a/hyprwhspr/.config/hyprwhspr/config.json b/hyprwhspr/.config/hyprwhspr/config.json index 096397529..dd4214856 100644 --- a/hyprwhspr/.config/hyprwhspr/config.json +++ b/hyprwhspr/.config/hyprwhspr/config.json @@ -1,17 +1,17 @@ { - "$schema": "https://raw.githubusercontent.com/goodroot/hyprwhspr/main/share/config.schema.json", - "transcription_backend": "vulkan", - "model": "large-v3-turbo", - "audio_ducking": true, - "primary_shortcut": "SUPER+SHIFT+XF86Assistant,", - "recording_mode": "push_to_talk", - "language": "fr", - "start_sound_volume": 0.5, - "stop_sound_volume": 0.5, - "start_sound_path": "ping-up.ogg", - "stop_sound_path": "ping-down.ogg", - "audio_ducking": true, - "audio_ducking_percent": 50, - "mic_osd_enabled": true, - "whisper_prompt_fr": "Transcrire en français avec des phrases complètes, une ponctuation claire et des majuscules correctes au début des phrases, pour les noms propres et les titres, comme dans un texte rédigé" -} + "$schema": "https://raw.githubusercontent.com/goodroot/hyprwhspr/main/share/config.schema.json", + "primary_shortcut": "SUPER+SHIFT+XF86Assistant,", + "recording_mode": "push_to_talk", + "keyboard_device_names": [ + "AT Translated Set 2 keyboard" + ], + "model": "large-v3-turbo", + "language": "fr", + "transcription_backend": "vulkan", + "start_sound_volume": 0.5, + "stop_sound_volume": 0.5, + "start_sound_path": "ping-up.ogg", + "stop_sound_path": "ping-down.ogg", + "audio_ducking": true, + "whisper_prompt_fr": "Transcrire en fran\u00e7ais avec des phrases compl\u00e8tes, une ponctuation claire et des majuscules correctes au d\u00e9but des phrases, pour les noms propres et les titres, comme dans un texte r\u00e9dig\u00e9" +} \ No newline at end of file diff --git a/hyprwhspr/.config/hyprwhspr/mic_osd.pid b/hyprwhspr/.config/hyprwhspr/mic_osd.pid index 11a93ef0a..b5bd81ca8 100644 --- a/hyprwhspr/.config/hyprwhspr/mic_osd.pid +++ b/hyprwhspr/.config/hyprwhspr/mic_osd.pid @@ -1 +1 @@ -893228 \ No newline at end of file +4574 \ No newline at end of file diff --git a/hyprwhspr/.config/hyprwhspr/recovery_result b/hyprwhspr/.config/hyprwhspr/recovery_result new file mode 100644 index 000000000..b0f8148b1 --- /dev/null +++ b/hyprwhspr/.config/hyprwhspr/recovery_result @@ -0,0 +1 @@ +success:suspend_resume:1780643924 \ No newline at end of file diff --git a/hyprwhspr/.local/share/hyprwhspr/assets/ping-down.ogg b/hyprwhspr/.local/share/hyprwhspr/assets/ping-down.ogg deleted file mode 100644 index 09ea6722a..000000000 Binary files a/hyprwhspr/.local/share/hyprwhspr/assets/ping-down.ogg and /dev/null differ diff --git a/hyprwhspr/.local/share/hyprwhspr/assets/ping-up.ogg b/hyprwhspr/.local/share/hyprwhspr/assets/ping-up.ogg deleted file mode 100644 index 1f25e1667..000000000 Binary files a/hyprwhspr/.local/share/hyprwhspr/assets/ping-up.ogg and /dev/null differ diff --git a/i3status-rust/.config/i3status-rust/config.toml b/i3status-rust/.config/i3status-rust/config.toml index 09be28b44..46952ee07 100644 --- a/i3status-rust/.config/i3status-rust/config.toml +++ b/i3status-rust/.config/i3status-rust/config.toml @@ -5,6 +5,9 @@ theme = "ctp-mocha" [icons] icons = "material-nf" +[[block]] +block = "scratchpad" + [[block]] block = "focused_window" [block.format] @@ -68,9 +71,14 @@ format_up_to_date = " $icon Up to date " # aur_command should output available updates to stdout (ie behave as echo -ne "update\n") aur_command = "yay -Qua" +[[block]] +block = "time" +interval = 60 +format = " $timestamp.datetime(f:'%d/%m %H:%M')" + [[block]] block = "menu" -text = " \uf011 " +text = " \uf011 " [[block.items]] display = " -> Sleep <-" cmd = "systemctl suspend" diff --git a/mango/.config/mango/autostart.conf b/mango/.config/mango/autostart.conf index a1ade50d2..cc1e59aea 100644 --- a/mango/.config/mango/autostart.conf +++ b/mango/.config/mango/autostart.conf @@ -10,7 +10,9 @@ # gnome-keyring-daemon # Verrouillage auto (swayidle) # protonmail-bridge -# +# cliphist +# proton-pass +# exec-once=swayidle -w timeout 300 '~/.config/mango/scripts/lock.sh' timeout 310 'wlopm --off "*"' resume 'wlopm --on "*"' before-sleep '~/.config/mango/scripts/lock.sh' # Les outils précédent ont été ajouter à systemd --user # # ================================================= @@ -29,12 +31,4 @@ exec-once=gtk-launch exec-once=thunderbird exec-once=spotify-launcher exec-once=waybar -exec-once=proton-pass exec-once=AppFlowy - -# Presse-papier -exec-once=wl-paste --type text --watch cliphist store -exec-once=wl-paste --type image --watch cliphist store - -# Idle -exec-once=swayidle -w timeout 300 '~/.config/mango/scripts/lock.sh' timeout 310 'wlopm --off "*"' resume 'wlopm --on "*"' before-sleep '~/.config/mango/scripts/lock.sh' diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index c52e9e271..e9c5d6fd7 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -19,7 +19,7 @@ "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, "nvim-colorizer.lua": { "branch": "master", "commit": "664c0b7cea1de71f8b65dfe951b7996fc3e6ccde" }, "nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" }, - "nvim-lspconfig": { "branch": "master", "commit": "07dff35e7c95288861200b788ef32d6103f107f0" }, + "nvim-lspconfig": { "branch": "master", "commit": "229b79051b380377664edc4cbd534930154921a1" }, "nvim-tcss": { "branch": "main", "commit": "bf9001416158f32fe7e92c42de94de3595aa13e5" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, diff --git a/sway/.config/sway/autostart b/sway/.config/sway/autostart index 7ae56add3..899347999 100755 --- a/sway/.config/sway/autostart +++ b/sway/.config/sway/autostart @@ -23,36 +23,38 @@ exec python3 ~/.config/sway/scripts/inactive-windows-transparency.py # ================================================= assign [app_id="kitty-1"] workspace 1 -assign [app_id="kitty-2"] workspace 1 assign [app_id="chromium"] workspace 2 assign [app_id="firefox"] workspace 3 assign [app_id="AppFlowy"] workspace 5 -assign [app_id="proton-bridge"] workspace 9 assign [app_id="org.mozilla.Thunderbird"] workspace 9 assign [class="Spotify"] workspace 10 +assign [app_id="proton-bridge"] workspace 11 # ================================================= # Lancement des applications # ================================================= exec kitty --class kitty-1 --directory $HOME -# exec kitty --class kitty-2 --directory $HOME exec chromium -exec protonmail-bridge exec thunderbird exec spotify-launcher -exec proton-pass exec AppFlowy +# move to systemctl --user +# exec gnome-keyring-daemon --components=pkcs11,secrets,ssh --start +# exec proton-pass +# exec protonmail-bridge # ================================================= # Presse-papier # ================================================= -exec wl-paste --watch cliphist store -exec wl-paste --type image/png --watch cliphist store +# move to systemctl --user +# exec wl-paste --watch cliphist store +# exec wl-paste --type image/png --watch cliphist store # ================================================= # Verrouillage auto (swayidle) # ================================================= -exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f -c 000000' +# move to systemctl --user +# exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'playerctl pause; swaylock -f -c 000000' diff --git a/sway/.config/sway/bind b/sway/.config/sway/bind index 817031e4d..f3a1edf80 100644 --- a/sway/.config/sway/bind +++ b/sway/.config/sway/bind @@ -222,6 +222,7 @@ bindsym $mod+Ctrl+m exec protonmail-bridge bindsym $mod+Ctrl+v exec virt-manager bindsym $mod+Ctrl+t exec thunar bindsym $mod+y exec kitty -- sh -c "yazi" +bindsym $mod+Ctrl+w exec gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default ############################################### # diff --git a/swaylock/.config/swaylock/config b/swaylock/.config/swaylock/config index e2aea9efe..0b0034bff 100644 --- a/swaylock/.config/swaylock/config +++ b/swaylock/.config/swaylock/config @@ -6,7 +6,7 @@ indicator-radius=100 indicator-thickness=7 effect-blur=7x5 effect-vignette=0.5:0.5 -effect-pixelate=6 +effect-pixelate=10 color=1e1e2e bs-hl-color=f5e0dc caps-lock-bs-hl-color=f5e0dc @@ -37,5 +37,5 @@ text-caps-lock-color=fab387 text-ver-color=89b4fa text-wrong-color=eba0ac -grace=2 +grace=1 fade-in=0.2 diff --git a/systemd/.config/systemd/user/cliphist-image.service b/systemd/.config/systemd/user/cliphist-image.service index ac38ee2a8..dc9107a28 100644 --- a/systemd/.config/systemd/user/cliphist-image.service +++ b/systemd/.config/systemd/user/cliphist-image.service @@ -6,7 +6,7 @@ After=graphical-session.target [Service] Type=simple ExecStartPre=/bin/sh -c 'for i in $(seq 1 50); do [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ] && exit 0; sleep 0.1; done; echo "No Wayland socket" >&2; exit 1' -ExecStart=/usr/bin/wl-paste --type image --watch cliphist store +ExecStart=/usr/bin/wl-paste --type image/png --watch cliphist store Restart=on-failure [Install] diff --git a/systemd/.config/systemd/user/default.target.wants/proton-bridge.service b/systemd/.config/systemd/user/default.target.wants/proton-bridge.service deleted file mode 120000 index 90b7cba08..000000000 --- a/systemd/.config/systemd/user/default.target.wants/proton-bridge.service +++ /dev/null @@ -1 +0,0 @@ -/home/fy59/.config/systemd/user/proton-bridge.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-image.service b/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-image.service new file mode 120000 index 000000000..f44389721 --- /dev/null +++ b/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-image.service @@ -0,0 +1 @@ +/home/fy59/.config/systemd/user/cliphist-image.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-text.service b/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-text.service new file mode 120000 index 000000000..9a21a9bf9 --- /dev/null +++ b/systemd/.config/systemd/user/graphical-session.target.wants/cliphist-text.service @@ -0,0 +1 @@ +/home/fy59/.config/systemd/user/cliphist-text.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/graphical-session.target.wants/keyring.service b/systemd/.config/systemd/user/graphical-session.target.wants/keyring.service new file mode 120000 index 000000000..36fbe51a6 --- /dev/null +++ b/systemd/.config/systemd/user/graphical-session.target.wants/keyring.service @@ -0,0 +1 @@ +/home/fy59/.config/systemd/user/keyring.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/graphical-session.target.wants/proton-pass.service b/systemd/.config/systemd/user/graphical-session.target.wants/proton-pass.service new file mode 120000 index 000000000..17bc8fbfe --- /dev/null +++ b/systemd/.config/systemd/user/graphical-session.target.wants/proton-pass.service @@ -0,0 +1 @@ +/home/fy59/.config/systemd/user/proton-pass.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/graphical-session.target.wants/swayidle.service b/systemd/.config/systemd/user/graphical-session.target.wants/swayidle.service new file mode 120000 index 000000000..b1925d682 --- /dev/null +++ b/systemd/.config/systemd/user/graphical-session.target.wants/swayidle.service @@ -0,0 +1 @@ +/home/fy59/.config/systemd/user/swayidle.service \ No newline at end of file diff --git a/systemd/.config/systemd/user/hyprwhspr.service b/systemd/.config/systemd/user/hyprwhspr.service index 215bfddaf..35b701277 100644 --- a/systemd/.config/systemd/user/hyprwhspr.service +++ b/systemd/.config/systemd/user/hyprwhspr.service @@ -5,9 +5,8 @@ Documentation=https://github.com/goodroot/hyprwhspr PartOf=graphical-session.target After=graphical-session.target -After=pipewire.service ydotool.service +After=pipewire.service Wants=pipewire.service -Requires=ydotool.service Wants=wireplumber.service After=wireplumber.service @@ -16,7 +15,7 @@ After=wireplumber.service Type=simple ExecStartPre=/bin/bash -lc 'for i in $(seq 1 60); do ls "$XDG_RUNTIME_DIR"/wayland-* >/dev/null 2>&1 && exit 0; sleep 0.25; done; echo "Wayland socket not found"; exit 1' ExecStart=/usr/lib/hyprwhspr/bin/hyprwhspr -ExecStopPost=/bin/bash -c 'pkill -9 -f "hyprwhspr-virtual-keyboard" 2>/dev/null || true' +ExecStopPost=/bin/bash -c '( pkill -9 -f "hyprwhspr-virtual-keyboard" 2>/dev/null; pkill -9 -f "hyprwhspr-ydotool.sock" 2>/dev/null ) || true' Environment=HYPRWHSPR_ROOT=/usr/lib/hyprwhspr Environment=PYTHONUNBUFFERED=1 Restart=on-failure diff --git a/systemd/.config/systemd/user/keyring.service b/systemd/.config/systemd/user/keyring.service new file mode 100644 index 000000000..bf803d36a --- /dev/null +++ b/systemd/.config/systemd/user/keyring.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wayland color temperature (wlsunset) +PartOf=graphical-session.target +After=graphical-session.target + +[Service] +ExecStart=/usr/bin/gnome-keyring-daemon --components=pkcs11,secrets,ssh --start +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/.config/systemd/user/proton-bridge.service b/systemd/.config/systemd/user/proton-bridge.service index 6a6aae785..c46433e97 100644 --- a/systemd/.config/systemd/user/proton-bridge.service +++ b/systemd/.config/systemd/user/proton-bridge.service @@ -5,7 +5,6 @@ Wants=network-online.target [Service] Type=simple -# Petit délai pour laisser le réseau et l'environnement user se stabiliser ExecStartPre=/bin/sleep 5 ExecStart=/usr/bin/protonmail-bridge Restart=on-failure diff --git a/systemd/.config/systemd/user/proton-pass.service b/systemd/.config/systemd/user/proton-pass.service new file mode 100644 index 000000000..5c1f618df --- /dev/null +++ b/systemd/.config/systemd/user/proton-pass.service @@ -0,0 +1,11 @@ +[Unit] +Description=Proton Pass Service +PartOf=graphical-session.target +After=graphical-session.target + +[Service] +ExecStart=/usr/bin/proton-pass +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/.config/systemd/user/swayidle.service b/systemd/.config/systemd/user/swayidle.service new file mode 100644 index 000000000..0792a580a --- /dev/null +++ b/systemd/.config/systemd/user/swayidle.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wayland swayidle +PartOf=graphical-session.target +After=graphical-session.target + +[Service] +ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 000000' timeout 360 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'playerctl pause; swaylock -f -c 000000' +Restart=on-failure + +[Install] +WantedBy=graphical-session.target