[Hyprland] update keyboard layout and add layout change binds

This commit is contained in:
2025-12-09 11:17:07 +01:00
parent c421ea2cb3
commit c7e82042af
2 changed files with 7 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ env = OLLAMA_HOST,0.0.0.0
# ╰────────────────────────────────────────────────╯
# ────────────────────────────────────────────────────────────────────
input {
kb_layout = ch
kb_layout = us
kb_options = caps:swapescape
natural_scroll = true

View File

@@ -43,6 +43,12 @@ bind = , P, exec, hyprctl keyword monitor eDP-1, 2880x1800@120, 0x0, 1.5 && cpup
# ── Using docked ────────────────────────────────────────────────────
bind = , D, exec, hyprctl keyword monitor eDP-1, disable
# Keyboard layout
bind = , U, exec, hyprctl keyword input:kb_layout us
bind = , U, submap, reset
bind = , C, exec, hyprctl keyword input:kb_layout ch
bind = , C, submap, reset
# ── Exit submap ─────────────────────────────────────────────────────
bind = , escape, submap, reset