From 669450636ebb7df024affa9880e52ceacf68e9e9 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 25 Mar 2024 22:35:40 -0300 Subject: [PATCH] fix: changes to hyprland env for fcitx5 --- programs/hyprland/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/programs/hyprland/default.nix b/programs/hyprland/default.nix index 7247f92..da62b90 100644 --- a/programs/hyprland/default.nix +++ b/programs/hyprland/default.nix @@ -92,10 +92,14 @@ # Some default env vars. env = XCURSOR_SIZE,36 env = QT_QPA_PLATFORM,wayland + env = QT_IM_MODULE,fcitx + env = GTK_IM_MODULE,fcitx + env = SDL_IM_MODULE,fcitx + env = XMODIFIERS,@im=fcitx # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { - kb_layout = us,br + kb_layout = kb_variant = kb_model = kb_options = @@ -196,7 +200,6 @@ # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod CTRL, F, fakefullscreen - bind = $mainMod CTRL, K, exec, hyprctl switchxkblayout www.hfd.cn-monsgeek-keyboard-1 next bind = $mainMod CTRL, L, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind = $mainMod CTRL, P, exec, ~/.local/share/scripts/hyprland/screenshot_area.sh bind = $mainMod CTRL, V, pin @@ -255,7 +258,6 @@ bindm = $mainMod, mouse:273, resizewindow # Window rules - windowrulev2 = float,class:(steam) # Make sure all Steam windows float windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$