Using FCITX instead of ibus for input method on wayland

This commit is contained in:
Antoine Phan
2024-08-13 19:32:43 +07:00
parent 34876bf776
commit 94d939f85c
4 changed files with 22 additions and 6 deletions

View File

@@ -3,10 +3,10 @@ monitor=eDP-1,1920x1080@60,0x0,1
# --- Second monitor via HDMI-A ---
# Automatic/To the right
# monitor=,1920x1080@165,auto,1
monitor=,1920x1080@165,auto,1
# Second monitor on the left
monitor=,1920x1080@165, -1920x0, 1
# monitor=,1920x1080@165, -1920x0, 1
# monitor = , highres, 0x-1080, 1
@@ -19,7 +19,7 @@ monitor=,1920x1080@165, -1920x0, 1
exec-once = waybar
exec-once = hyprpaper
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = ibus-daemon -rxRd
exec-once = fcitx5 -d
# Set programs that you use
$terminal = alacritty
@@ -43,6 +43,7 @@ input {
touchpad {
natural_scroll = yes
clickfinger_behavior = true
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
@@ -260,6 +261,15 @@ bind = $mainMod CTRL SHIFT, S, exec, grim -g "$(slurp -d)" - > $HOME/Screenshots
# Wholescreen, save to $HOME/Screenshots/
bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png
# Enviroment variables
env = GDK_BACKEND,wayland,x11,*
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland;xcb
env = GTK_IM_MODULE, fcitx
env = QT_IM_MODULE, fcitx
env = XMODIFIERS, @im=fcitx
# NVIDIA
#env = LIBVA_DRIVER_NAME,nvidia
#env = XDG_SESSION_TYPE,wayland