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

View File

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