Hi there,
I came accross this snippet while surfing GitHub.
# https://raw.githubusercontent.com/Gako358/dotfiles/6236f706279d2450606dfc99fecce9399936b7e7/home/programs/browser/teams.nix
{ config, pkgs, ... }: {
home.packages = with pkgs;
let
teams-chromium = makeDesktopItem {
name = "Teams";
desktopName = "Teams";
genericName = "Microsoft Teams";
exec = ''
${config.programs.chromium.package}/bin/chromium --ozone-platform-hint=auto --force-dark-mode --enable-features=WebUIDarkMode --app="https://teams.live.com"'';
icon = "teams";
categories = [ "Network" "InstantMessaging" ];
mimeTypes = [ "x-scheme-handler/teams" ];
};
in [ teams-chromium ];
}
this works great, But what if not working is the icon. I know it has to do with the class, etc. but I cannot get it working. Any tips? Right now it using my chromium icon.
Thank you.