feat(i18n): describe the Hyprland binds with translation keys
fws-keys shows them in the session's language. The keyboard switch options chosen at install are applied too.
This commit is contained in:
1 file changed
+60
-57
@@ -5,17 +5,20 @@
|
||||
# Raccourcis : transposition de la config i3/sway FWS (mêmes touches).
|
||||
# Couleurs : nuances de bleu (palette Catppuccin Mocha).
|
||||
#
|
||||
# Les raccourcis sont déclarés avec « bindd » (bind + description) : la
|
||||
# description alimente l'écran « Raccourcis clavier » (bouton ⌨ de la barre
|
||||
# ou SUPER+K → fws-keys, qui lit les binds RÉELS via hyprctl). Ajoute
|
||||
# tes propres bindd : ils apparaîtront automatiquement dans la liste.
|
||||
# ⚠ Pas de virgule dans les descriptions (séparateur de champs Hyprland).
|
||||
# Shortcuts are declared with « bindd » (bind + description): the description
|
||||
# feeds the « Keyboard shortcuts » screen (⌨ button of the bar or SUPER+K →
|
||||
# fws-keys, which reads the binds actually loaded, through hyprctl). The FWS
|
||||
# descriptions below are keys (binds.*) that fws-keys shows in the language of
|
||||
# the session. Add your own bindd with a description in plain text: it shows
|
||||
# up in the list as written.
|
||||
# ⚠ No comma in descriptions (Hyprland's field separator).
|
||||
|
||||
monitor = , preferred, auto, 1
|
||||
|
||||
input {
|
||||
kb_layout = __KB_LAYOUT__
|
||||
kb_variant = __KB_VARIANT__
|
||||
kb_options = __KB_OPTIONS__
|
||||
follow_mouse = 1
|
||||
numlock_by_default = true
|
||||
touchpad {
|
||||
@@ -85,35 +88,35 @@ exec-once = fws-drivers --autostart
|
||||
$mod = SUPER
|
||||
|
||||
# --- Applications ---------------------------------------------------------
|
||||
bindd = $mod, Return, Ouvrir un terminal (kitty), exec, kitty
|
||||
bindd = $mod SHIFT, Return, Terminal flottant, exec, kitty --class floating-term
|
||||
bindd = $mod, R, Menu des applications, exec, wofi --show drun
|
||||
bindd = $mod, E, Gestionnaire de fichiers, exec, dolphin
|
||||
bindd = $mod, B, Ouvrir Firefox, exec, firefox
|
||||
bindd = $mod, P, Gestionnaire de paquets (PacManager), exec, PacManager
|
||||
bindd = $mod, K, Afficher les raccourcis clavier, exec, fws-keys
|
||||
bindd = $mod, X, Menu d'alimentation (arrêt/redémarrage…), exec, fws-powermenu
|
||||
bindd = $mod, Return, binds.open_terminal, exec, kitty
|
||||
bindd = $mod SHIFT, Return, binds.floating_terminal, exec, kitty --class floating-term
|
||||
bindd = $mod, R, binds.app_menu, exec, wofi --show drun
|
||||
bindd = $mod, E, binds.file_manager, exec, dolphin
|
||||
bindd = $mod, B, binds.open_firefox, exec, firefox
|
||||
bindd = $mod, P, binds.package_manager, exec, PacManager
|
||||
bindd = $mod, K, binds.show_shortcuts, exec, fws-keys
|
||||
bindd = $mod, X, binds.power_menu, exec, fws-powermenu
|
||||
|
||||
# --- Fenêtres ---------------------------------------------------------------
|
||||
bindd = $mod, Q, Fermer la fenêtre, killactive,
|
||||
bindd = $mod, V, Fenêtre flottante ou ancrée, togglefloating,
|
||||
bindd = $mod, F, Plein écran, fullscreen,
|
||||
bindd = $mod, J, Basculer la découpe horizontale/verticale, layoutmsg, togglesplit
|
||||
bindd = $mod, L, Verrouiller l'écran, exec, hyprlock
|
||||
bindd = $mod SHIFT, E, Quitter la session (retour à SDDM), exit,
|
||||
bindd = $mod SHIFT, C, Recharger la configuration Hyprland, exec, hyprctl reload
|
||||
bindd = $mod, Q, binds.close_window, killactive,
|
||||
bindd = $mod, V, binds.toggle_floating, togglefloating,
|
||||
bindd = $mod, F, binds.fullscreen, fullscreen,
|
||||
bindd = $mod, J, binds.toggle_split, layoutmsg, togglesplit
|
||||
bindd = $mod, L, binds.lock_screen, exec, hyprlock
|
||||
bindd = $mod SHIFT, E, binds.exit_session, exit,
|
||||
bindd = $mod SHIFT, C, binds.reload_config, exec, hyprctl reload
|
||||
|
||||
# --- Focus (flèches) ---------------------------------------------------------
|
||||
bindd = $mod, left, Focus à gauche, movefocus, l
|
||||
bindd = $mod, right, Focus à droite, movefocus, r
|
||||
bindd = $mod, up, Focus en haut, movefocus, u
|
||||
bindd = $mod, down, Focus en bas, movefocus, d
|
||||
bindd = $mod, left, binds.focus_left, movefocus, l
|
||||
bindd = $mod, right, binds.focus_right, movefocus, r
|
||||
bindd = $mod, up, binds.focus_up, movefocus, u
|
||||
bindd = $mod, down, binds.focus_down, movefocus, d
|
||||
|
||||
# --- Déplacer la fenêtre (Maj + flèches) ---------------------------------------
|
||||
bindd = $mod SHIFT, left, Déplacer la fenêtre à gauche, movewindow, l
|
||||
bindd = $mod SHIFT, right, Déplacer la fenêtre à droite, movewindow, r
|
||||
bindd = $mod SHIFT, up, Déplacer la fenêtre en haut, movewindow, u
|
||||
bindd = $mod SHIFT, down, Déplacer la fenêtre en bas, movewindow, d
|
||||
bindd = $mod SHIFT, left, binds.move_window_left, movewindow, l
|
||||
bindd = $mod SHIFT, right, binds.move_window_right, movewindow, r
|
||||
bindd = $mod SHIFT, up, binds.move_window_up, movewindow, u
|
||||
bindd = $mod SHIFT, down, binds.move_window_down, movewindow, d
|
||||
|
||||
# --- Redimensionner (Ctrl + flèches, maintien possible) ------------------------
|
||||
binde = $mod CTRL, left, resizeactive, -30 0
|
||||
@@ -122,43 +125,43 @@ binde = $mod CTRL, up, resizeactive, 0 -30
|
||||
binde = $mod CTRL, down, resizeactive, 0 30
|
||||
|
||||
# --- Espaces de travail 1-10 (0 = espace 10, comme i3) --------------------------
|
||||
bindd = $mod, 1, Aller à l'espace 1, workspace, 1
|
||||
bindd = $mod, 2, Aller à l'espace 2, workspace, 2
|
||||
bindd = $mod, 3, Aller à l'espace 3, workspace, 3
|
||||
bindd = $mod, 4, Aller à l'espace 4, workspace, 4
|
||||
bindd = $mod, 5, Aller à l'espace 5, workspace, 5
|
||||
bindd = $mod, 6, Aller à l'espace 6, workspace, 6
|
||||
bindd = $mod, 7, Aller à l'espace 7, workspace, 7
|
||||
bindd = $mod, 8, Aller à l'espace 8, workspace, 8
|
||||
bindd = $mod, 9, Aller à l'espace 9, workspace, 9
|
||||
bindd = $mod, 0, Aller à l'espace 10, workspace, 10
|
||||
bindd = $mod SHIFT, 1, Envoyer la fenêtre vers l'espace 1, movetoworkspace, 1
|
||||
bindd = $mod SHIFT, 2, Envoyer la fenêtre vers l'espace 2, movetoworkspace, 2
|
||||
bindd = $mod SHIFT, 3, Envoyer la fenêtre vers l'espace 3, movetoworkspace, 3
|
||||
bindd = $mod SHIFT, 4, Envoyer la fenêtre vers l'espace 4, movetoworkspace, 4
|
||||
bindd = $mod SHIFT, 5, Envoyer la fenêtre vers l'espace 5, movetoworkspace, 5
|
||||
bindd = $mod SHIFT, 6, Envoyer la fenêtre vers l'espace 6, movetoworkspace, 6
|
||||
bindd = $mod SHIFT, 7, Envoyer la fenêtre vers l'espace 7, movetoworkspace, 7
|
||||
bindd = $mod SHIFT, 8, Envoyer la fenêtre vers l'espace 8, movetoworkspace, 8
|
||||
bindd = $mod SHIFT, 9, Envoyer la fenêtre vers l'espace 9, movetoworkspace, 9
|
||||
bindd = $mod SHIFT, 0, Envoyer la fenêtre vers l'espace 10, movetoworkspace, 10
|
||||
bindd = $mod, 1, binds.go_to_workspace, workspace, 1
|
||||
bindd = $mod, 2, binds.go_to_workspace, workspace, 2
|
||||
bindd = $mod, 3, binds.go_to_workspace, workspace, 3
|
||||
bindd = $mod, 4, binds.go_to_workspace, workspace, 4
|
||||
bindd = $mod, 5, binds.go_to_workspace, workspace, 5
|
||||
bindd = $mod, 6, binds.go_to_workspace, workspace, 6
|
||||
bindd = $mod, 7, binds.go_to_workspace, workspace, 7
|
||||
bindd = $mod, 8, binds.go_to_workspace, workspace, 8
|
||||
bindd = $mod, 9, binds.go_to_workspace, workspace, 9
|
||||
bindd = $mod, 0, binds.go_to_workspace, workspace, 10
|
||||
bindd = $mod SHIFT, 1, binds.send_window_to_workspace, movetoworkspace, 1
|
||||
bindd = $mod SHIFT, 2, binds.send_window_to_workspace, movetoworkspace, 2
|
||||
bindd = $mod SHIFT, 3, binds.send_window_to_workspace, movetoworkspace, 3
|
||||
bindd = $mod SHIFT, 4, binds.send_window_to_workspace, movetoworkspace, 4
|
||||
bindd = $mod SHIFT, 5, binds.send_window_to_workspace, movetoworkspace, 5
|
||||
bindd = $mod SHIFT, 6, binds.send_window_to_workspace, movetoworkspace, 6
|
||||
bindd = $mod SHIFT, 7, binds.send_window_to_workspace, movetoworkspace, 7
|
||||
bindd = $mod SHIFT, 8, binds.send_window_to_workspace, movetoworkspace, 8
|
||||
bindd = $mod SHIFT, 9, binds.send_window_to_workspace, movetoworkspace, 9
|
||||
bindd = $mod SHIFT, 0, binds.send_window_to_workspace, movetoworkspace, 10
|
||||
|
||||
# --- Multi-écrans (comme i3 : Super+Ctrl+1/2 = écran gauche/droit) -------------
|
||||
bindd = $mod CTRL, 1, Envoyer la fenêtre vers l'écran de gauche, movewindow, mon:l
|
||||
bindd = $mod CTRL, 2, Envoyer la fenêtre vers l'écran de droite, movewindow, mon:r
|
||||
bindd = $mod CTRL, 1, binds.send_window_to_left_screen, movewindow, mon:l
|
||||
bindd = $mod CTRL, 2, binds.send_window_to_right_screen, movewindow, mon:r
|
||||
|
||||
# --- Molette = changer d'espace de travail --------------------------------------
|
||||
bindd = $mod, mouse_up, Espace de travail précédent, workspace, e-1
|
||||
bindd = $mod, mouse_down, Espace de travail suivant, workspace, e+1
|
||||
bindd = $mod, mouse_up, binds.previous_workspace, workspace, e-1
|
||||
bindd = $mod, mouse_down, binds.next_workspace, workspace, e+1
|
||||
|
||||
# --- Scratchpad (espace spécial) -------------------------------------------------
|
||||
bindd = $mod, S, Afficher le scratchpad, togglespecialworkspace, magic
|
||||
bindd = $mod SHIFT, S, Envoyer la fenêtre au scratchpad, movetoworkspace, special:magic
|
||||
bindd = $mod, S, binds.show_scratchpad, togglespecialworkspace, magic
|
||||
bindd = $mod SHIFT, S, binds.send_window_to_scratchpad, movetoworkspace, special:magic
|
||||
|
||||
# --- Captures d'écran (grim/slurp → presse-papier ou ~/Images) -------------------
|
||||
bindd = , Print, Capture plein écran vers le presse-papier, exec, grim - | wl-copy
|
||||
bindd = $mod, Print, Capture d'une zone vers le presse-papier, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bindd = $mod SHIFT, Print, Capture d'une zone vers ~/Images, exec, sh -c 'mkdir -p ~/Images && grim -g "$(slurp)" ~/Images/capture_$(date +%Y-%m-%d_%H-%M-%S).png'
|
||||
bindd = , Print, binds.screenshot_screen_to_clipboard, exec, grim - | wl-copy
|
||||
bindd = $mod, Print, binds.screenshot_area_to_clipboard, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bindd = $mod SHIFT, Print, binds.screenshot_area_to_pictures, exec, sh -c 'mkdir -p ~/Images && grim -g "$(slurp)" ~/Images/capture_$(date +%Y-%m-%d_%H-%M-%S).png'
|
||||
|
||||
# --- Multimédia (touches XF86 : volume via PipeWire, lecture via playerctl) ------
|
||||
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
|
||||
Reference in new issue
Block a user