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]
name = "catppuccin-mocha-lavender"
name = "catppuccin"
[colors]
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",
"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"
}

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

View file

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

View file

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

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

View file

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

View file

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

View file

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

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

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

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