add electron/chrome fixes for touch screens on wayland

This commit is contained in:
Aly Raffauf 2024-05-27 19:37:28 -04:00
parent 753e62d7cc
commit 730778f91d
2 changed files with 5 additions and 6 deletions

View file

@ -17,22 +17,21 @@ in {
programs.home-manager.enable = true; programs.home-manager.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
brave (pkgs.google-chrome.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";})
browsh browsh
curl curl
fractal fractal
gh gh
git git
gnome.file-roller gnome.file-roller
google-chrome
keepassxc keepassxc
unstable.obsidian
plexamp plexamp
python3 python3
ruby ruby
trayscale trayscale
wget unstable.obsidian
unstable.zoom-us unstable.zoom-us
wget
]; ];
alyraffauf = { alyraffauf = {
@ -41,7 +40,7 @@ in {
defaultApps = { defaultApps = {
enable = true; enable = true;
webBrowser = { webBrowser = {
package = pkgs.brave; package = pkgs.brave.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
desktop = "brave-browser.desktop"; desktop = "brave-browser.desktop";
}; };
}; };

View file

@ -13,7 +13,7 @@
programs.vscode = { programs.vscode = {
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium.override {commandLineArgs = "--gtk-version=4 --enable-wayland-ime";};
enableUpdateCheck = false; enableUpdateCheck = false;
enableExtensionUpdateCheck = false; enableExtensionUpdateCheck = false;
userSettings = { userSettings = {