mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:53:55 -05:00
21 lines
658 B
Nix
21 lines
658 B
Nix
|
# Text input fixes for electron apps.
|
||
|
final: prev: {
|
||
|
brave = prev.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
|
||
|
|
||
|
obsidian = prev.obsidian.overrideAttrs (old: {
|
||
|
installPhase =
|
||
|
builtins.replaceStrings ["--ozone-platform=wayland"]
|
||
|
["--ozone-platform=wayland --enable-wayland-ime"]
|
||
|
old.installPhase;
|
||
|
});
|
||
|
|
||
|
vscodium = prev.vscodium.override {commandLineArgs = "--enable-wayland-ime";};
|
||
|
|
||
|
webcord = prev.webcord.overrideAttrs (old: {
|
||
|
installPhase =
|
||
|
builtins.replaceStrings ["--ozone-platform-hint=auto"]
|
||
|
["--ozone-platform-hint=auto --enable-wayland-ime"]
|
||
|
old.installPhase;
|
||
|
});
|
||
|
}
|