feat: cannot use fcitx5-rime in firefox/vscode, revert to hyprland

This commit is contained in:
ryan4yin
2023-05-14 12:02:45 +08:00
parent 47a7828bc7
commit 373348e406
6 changed files with 23 additions and 22 deletions

View File

@@ -10,8 +10,8 @@
};
in {
home.packages = with pkgs-stable; [
# firefox-wayland
firefox
firefox-wayland
# firefox
];
programs = {
@@ -24,26 +24,26 @@
# https://github.com/swaywm/sway/issues/7562
package = pkgs-stable.google-chrome;
# commandLineArgs = [
# # make it use GTK_IM_MODULE if it runs with Gtk4, so fcitx5 can work with it.
# # (only supported by chromium/chrome at this time, not electron)
# "--gtk-version=4"
# # make it use text-input-v1, which works for kwin 5.27 and weston
# # "--enable-wayland-ime"
commandLineArgs = [
# make it use GTK_IM_MODULE if it runs with Gtk4, so fcitx5 can work with it.
# (only supported by chromium/chrome at this time, not electron)
"--gtk-version=4"
# make it use text-input-v1, which works for kwin 5.27 and weston
# "--enable-wayland-ime"
# # enable hardware acceleration - vulkan api
# # "--enable-features=Vulkan"
# ];
# enable hardware acceleration - vulkan api
# "--enable-features=Vulkan"
];
};
vscode = {
enable = true;
# use the stable version
package = pkgs-stable.vscode.override {
# commandLineArgs = [
# # make it use text-input-v1, which works for kwin 5.27 and weston
# # "--enable-wayland-ime"
# ];
commandLineArgs = [
# make it use text-input-v1, which works for kwin 5.27 and weston
# "--enable-wayland-ime"
];
};
# let vscode sync and update its configuration & extensions across devices, using github account.