Regoogle chromium

This commit is contained in:
Nathan McCarty 2023-03-29 19:42:06 -04:00
parent 9c890bd35d
commit b0ea9f9f26
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 8 additions and 10 deletions

View File

@ -31,8 +31,8 @@
fbChromeDesktopItem = pkgs.makeDesktopItem {
name = "messenger-chrome";
desktopName = "Messenger (chrome)";
exec = ''
${pkgs.ungoogled-chromium}/bin/chromium "--app=https://messenger.com"'';
exec =
''${pkgs.chromium}/bin/chromium "--app=https://messenger.com"'';
terminal = false;
};
# Teams
@ -40,22 +40,21 @@
name = "teams-wayland";
desktopName = "Teams (Wayland)";
exec = ''
${pkgs.ungoogled-chromium}/bin/chromium "--app=https://teams.microsoft.com"'';
${pkgs.chromium}/bin/chromium "--app=https://teams.microsoft.com"'';
terminal = false;
};
# Cinny
cinnyItem = pkgs.makeDesktopItem {
name = "cinny";
desktopName = "Cinny";
exec = ''
${pkgs.ungoogled-chromium}/bin/chromium "--app=https://app.cinny.in"'';
exec = ''${pkgs.chromium}/bin/chromium "--app=https://app.cinny.in"'';
terminal = false;
};
messagesItem = pkgs.makeDesktopItem {
name = "messages";
desktopName = "Messages (Chromium)";
exec = ''
${pkgs.ungoogled-chromium}/bin/chromium "--app=https://messages.google.com/web"'';
${pkgs.chromium}/bin/chromium "--app=https://messages.google.com/web"'';
terminal = false;
};
in [
@ -79,7 +78,7 @@
# Cinny for pretty matrix
cinnyItem
# chromium
# (enableWayland ungoogled-chromium "Chromium (Wayland)")
# (enableWayland chromium "Chromium (Wayland)")
# Wayland workaround packages
fbChromeDesktopItem
# Messages
@ -90,7 +89,6 @@
programs.chromium = {
enable = true;
package = pkgs.ungoogled-chromium;
extensions = [{ id = "bphagiicbkoknlhmmbiokkdobkiglpio"; }];
};
};

View File

@ -7,8 +7,8 @@ let
irisDesktopItem = pkgs.makeDesktopItem {
name = "iris";
desktopName = "Iris";
exec = ''
${pkgs.ungoogled-chromium}/bin/chromium --enable-features=UseOzonePlatform -ozone-platform=wayland "--app=http://localhost:6680/iris/"'';
exec =
''${pkgs.chromium}/bin/chromium "--app=http://localhost:6680/iris/"'';
terminal = false;
};
in {