diff options
| author | bh <qn+git@excalibur.computer> | 2026-06-29 19:35:21 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2026-06-29 19:35:21 +0800 |
| commit | 69085eb8319c6fd190af8e8067d72a4d28149f19 (patch) | |
| tree | 4510a7aa781e02b37de28613410f0172847295b6 /hypr | |
| parent | c0dfc1ca71996b5e64ed7fd5d1cc70e6014375d9 (diff) | |
hypr: add way to change keyboard layout
Diffstat (limited to 'hypr')
| -rw-r--r-- | hypr/.config/hypr/hyprland.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hypr/.config/hypr/hyprland.lua b/hypr/.config/hypr/hyprland.lua index d39df7e..9751922 100644 --- a/hypr/.config/hypr/hyprland.lua +++ b/hypr/.config/hypr/hyprland.lua @@ -41,6 +41,7 @@ hl.on("hyprland.start", function() hl.exec_cmd("quickshell") hl.exec_cmd("hyprpaper") hl.exec_cmd("dunst") + hl.exec_cmd("fcitx5 -d --replace") hl.exec_cmd("wl-paste --type text --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("wl-paste --primary --type text --watch cliphist -db-path ~/.cache/cliphist/primary.db store") @@ -64,6 +65,13 @@ hl.env("QT_QPA_PLATFORM", "wayland;xcb") hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1") hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1") +-- Input method (fcitx5) — so apps route keystrokes through fcitx5 +hl.env("GTK_IM_MODULE", "fcitx") +hl.env("QT_IM_MODULE", "fcitx") +hl.env("XMODIFIERS", "@im=fcitx") +hl.env("SDL_IM_MODULE", "fcitx") +hl.env("GLFW_IM_MODULE", "ibus") -- glfw apps use the "ibus" name even with fcitx + -- ╔════════════════════════════════════════╗ -- ║ ⌨ DEVICE ║ |