update hyprwisper and atuin

This commit is contained in:
grayTerminal-sh 2026-06-05 09:37:01 +02:00
parent faa9676ef1
commit a0c1a2d197
25 changed files with 92 additions and 45 deletions

View file

@ -1,5 +1,5 @@
[theme] [theme]
name = "catppuccin-mocha-lavender" name = "catppuccin"
[colors] [colors]
AlertInfo = "#a6e3a1" AlertInfo = "#a6e3a1"

View file

@ -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"

View file

@ -1,17 +1,17 @@
{ {
"$schema": "https://raw.githubusercontent.com/goodroot/hyprwhspr/main/share/config.schema.json", "$schema": "https://raw.githubusercontent.com/goodroot/hyprwhspr/main/share/config.schema.json",
"transcription_backend": "vulkan", "primary_shortcut": "SUPER+SHIFT+XF86Assistant,",
"model": "large-v3-turbo", "recording_mode": "push_to_talk",
"audio_ducking": true, "keyboard_device_names": [
"primary_shortcut": "SUPER+SHIFT+XF86Assistant,", "AT Translated Set 2 keyboard"
"recording_mode": "push_to_talk", ],
"language": "fr", "model": "large-v3-turbo",
"start_sound_volume": 0.5, "language": "fr",
"stop_sound_volume": 0.5, "transcription_backend": "vulkan",
"start_sound_path": "ping-up.ogg", "start_sound_volume": 0.5,
"stop_sound_path": "ping-down.ogg", "stop_sound_volume": 0.5,
"audio_ducking": true, "start_sound_path": "ping-up.ogg",
"audio_ducking_percent": 50, "stop_sound_path": "ping-down.ogg",
"mic_osd_enabled": true, "audio_ducking": 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é" "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"
} }

View file

@ -1 +1 @@
893228 4574

View file

@ -0,0 +1 @@
success:suspend_resume:1780643924

View file

@ -5,6 +5,9 @@ theme = "ctp-mocha"
[icons] [icons]
icons = "material-nf" icons = "material-nf"
[[block]]
block = "scratchpad"
[[block]] [[block]]
block = "focused_window" block = "focused_window"
[block.format] [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 should output available updates to stdout (ie behave as echo -ne "update\n")
aur_command = "yay -Qua" aur_command = "yay -Qua"
[[block]]
block = "time"
interval = 60
format = " $timestamp.datetime(f:'%d/%m %H:%M')"
[[block]] [[block]]
block = "menu" block = "menu"
text = " \uf011 " text = " \uf011 "
[[block.items]] [[block.items]]
display = " -> Sleep <-" display = " -> Sleep <-"
cmd = "systemctl suspend" cmd = "systemctl suspend"

View file

@ -10,7 +10,9 @@
# gnome-keyring-daemon # gnome-keyring-daemon
# Verrouillage auto (swayidle) # Verrouillage auto (swayidle)
# protonmail-bridge # 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 # Les outils précédent ont été ajouter à systemd --user
# #
# ================================================= # =================================================
@ -29,12 +31,4 @@ exec-once=gtk-launch
exec-once=thunderbird exec-once=thunderbird
exec-once=spotify-launcher exec-once=spotify-launcher
exec-once=waybar exec-once=waybar
exec-once=proton-pass
exec-once=AppFlowy 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'

View file

@ -19,7 +19,7 @@
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
"nvim-colorizer.lua": { "branch": "master", "commit": "664c0b7cea1de71f8b65dfe951b7996fc3e6ccde" }, "nvim-colorizer.lua": { "branch": "master", "commit": "664c0b7cea1de71f8b65dfe951b7996fc3e6ccde" },
"nvim-lsp-file-operations": { "branch": "master", "commit": "b9c795d3973e8eec22706af14959bc60c579e771" }, "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-tcss": { "branch": "main", "commit": "bf9001416158f32fe7e92c42de94de3595aa13e5" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },

View file

@ -23,36 +23,38 @@ exec python3 ~/.config/sway/scripts/inactive-windows-transparency.py
# ================================================= # =================================================
assign [app_id="kitty-1"] workspace 1 assign [app_id="kitty-1"] workspace 1
assign [app_id="kitty-2"] workspace 1
assign [app_id="chromium"] workspace 2 assign [app_id="chromium"] workspace 2
assign [app_id="firefox"] workspace 3 assign [app_id="firefox"] workspace 3
assign [app_id="AppFlowy"] workspace 5 assign [app_id="AppFlowy"] workspace 5
assign [app_id="proton-bridge"] workspace 9
assign [app_id="org.mozilla.Thunderbird"] workspace 9 assign [app_id="org.mozilla.Thunderbird"] workspace 9
assign [class="Spotify"] workspace 10 assign [class="Spotify"] workspace 10
assign [app_id="proton-bridge"] workspace 11
# ================================================= # =================================================
# Lancement des applications # Lancement des applications
# ================================================= # =================================================
exec kitty --class kitty-1 --directory $HOME exec kitty --class kitty-1 --directory $HOME
# exec kitty --class kitty-2 --directory $HOME
exec chromium exec chromium
exec protonmail-bridge
exec thunderbird exec thunderbird
exec spotify-launcher exec spotify-launcher
exec proton-pass
exec AppFlowy exec AppFlowy
# move to systemctl --user
# exec gnome-keyring-daemon --components=pkcs11,secrets,ssh --start
# exec proton-pass
# exec protonmail-bridge
# ================================================= # =================================================
# Presse-papier # Presse-papier
# ================================================= # =================================================
exec wl-paste --watch cliphist store # move to systemctl --user
exec wl-paste --type image/png --watch cliphist store # exec wl-paste --watch cliphist store
# exec wl-paste --type image/png --watch cliphist store
# ================================================= # =================================================
# Verrouillage auto (swayidle) # 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'

View file

@ -222,6 +222,7 @@ bindsym $mod+Ctrl+m exec protonmail-bridge
bindsym $mod+Ctrl+v exec virt-manager bindsym $mod+Ctrl+v exec virt-manager
bindsym $mod+Ctrl+t exec thunar bindsym $mod+Ctrl+t exec thunar
bindsym $mod+y exec kitty -- sh -c "yazi" bindsym $mod+y exec kitty -- sh -c "yazi"
bindsym $mod+Ctrl+w exec gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default
############################################### ###############################################
# #

View file

@ -6,7 +6,7 @@ indicator-radius=100
indicator-thickness=7 indicator-thickness=7
effect-blur=7x5 effect-blur=7x5
effect-vignette=0.5:0.5 effect-vignette=0.5:0.5
effect-pixelate=6 effect-pixelate=10
color=1e1e2e color=1e1e2e
bs-hl-color=f5e0dc bs-hl-color=f5e0dc
caps-lock-bs-hl-color=f5e0dc caps-lock-bs-hl-color=f5e0dc
@ -37,5 +37,5 @@ text-caps-lock-color=fab387
text-ver-color=89b4fa text-ver-color=89b4fa
text-wrong-color=eba0ac text-wrong-color=eba0ac
grace=2 grace=1
fade-in=0.2 fade-in=0.2

View file

@ -6,7 +6,7 @@ After=graphical-session.target
[Service] [Service]
Type=simple 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' 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 Restart=on-failure
[Install] [Install]

View file

@ -1 +0,0 @@
/home/fy59/.config/systemd/user/proton-bridge.service

View file

@ -0,0 +1 @@
/home/fy59/.config/systemd/user/cliphist-image.service

View file

@ -0,0 +1 @@
/home/fy59/.config/systemd/user/cliphist-text.service

View file

@ -0,0 +1 @@
/home/fy59/.config/systemd/user/keyring.service

View file

@ -0,0 +1 @@
/home/fy59/.config/systemd/user/proton-pass.service

View file

@ -0,0 +1 @@
/home/fy59/.config/systemd/user/swayidle.service

View file

@ -5,9 +5,8 @@ Documentation=https://github.com/goodroot/hyprwhspr
PartOf=graphical-session.target PartOf=graphical-session.target
After=graphical-session.target After=graphical-session.target
After=pipewire.service ydotool.service After=pipewire.service
Wants=pipewire.service Wants=pipewire.service
Requires=ydotool.service
Wants=wireplumber.service Wants=wireplumber.service
After=wireplumber.service After=wireplumber.service
@ -16,7 +15,7 @@ After=wireplumber.service
Type=simple 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' 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 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=HYPRWHSPR_ROOT=/usr/lib/hyprwhspr
Environment=PYTHONUNBUFFERED=1 Environment=PYTHONUNBUFFERED=1
Restart=on-failure Restart=on-failure

View file

@ -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

View file

@ -5,7 +5,6 @@ Wants=network-online.target
[Service] [Service]
Type=simple Type=simple
# Petit délai pour laisser le réseau et l'environnement user se stabiliser
ExecStartPre=/bin/sleep 5 ExecStartPre=/bin/sleep 5
ExecStart=/usr/bin/protonmail-bridge ExecStart=/usr/bin/protonmail-bridge
Restart=on-failure Restart=on-failure

View file

@ -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

View file

@ -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