Teams: switch to Chrome webapp

This commit is contained in:
Filippo Berto 2023-11-17 15:01:42 +01:00
parent dda78546c9
commit f68a45dfd4
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 39 additions and 46 deletions

View file

@ -1,7 +1,7 @@
{ pkgs, lib, ... }:
# Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry
let
# chrome-cmd = link: "${pkgs.google-chrome}/bin/google-chrome-stable --app=${link}";
chrome-cmd = link: "${pkgs.google-chrome}/bin/google-chrome-stable --app=${link}";
firefox-cmd = link: "firefox --new-window ${link}";
webAppBuilder =
{ desktopName
@ -17,79 +17,74 @@ let
exec = cmd link;
};
links = [
# {
# desktopName = "Microsoft Teams";
# link = "https://teams.microsoft.com";
# categories = [ "Office" ];
# }
{
desktopName = "Chess.com";
link = "https://chess.com";
desktopName = "Chess.com";
categories = [ "Game" ];
}
{
desktopName = "Google Calendar";
link = "https://google.com/calendar";
desktopName = "Google Calendar";
categories = [ "Office" ];
}
{
desktopName = "Google Keep";
link = "https://keep.google.com";
desktopName = "Google Keep";
categories = [ "Office" ];
}
{
desktopName = "Google Play Books";
link = "https://play.google.com/books";
desktopName = "Google Play Books";
categories = [ "Office" "Viewer" ];
}
# {
# desktopName = "Mendeley";
# link =
# "https://www.mendeley.com/reference-manager/library/all-references";
# categories = [ "Office" ];
# }
{
desktopName = "Monkeytype";
link = "https://teams.microsoft.com";
desktopName = "Microsoft Teams";
categories = [ "Office" ];
cmd = chrome-cmd;
}
{
link = "https://monkeytype.com/";
desktopName = "Monkeytype";
categories = [ "Game" ];
}
{
desktopName = "Netflix";
link = "https://www.netflix.com";
desktopName = "Netflix";
categories = [ "AudioVideo" ];
}
{
desktopName = "Notion";
link = "https://notion.so";
desktopName = "Notion";
categories = [ "Office" ];
}
{
desktopName = "Prime Video";
link = "https://primevideo.com";
categories = [ "AudioVideo" ];
}
{
desktopName = "Protonmail";
link = "https://mail.protonmail.com";
categories = [ "Office" ];
}
{
desktopName = "Twitch";
link = "https://www.twitch.tv";
categories = [ "AudioVideo" ];
}
{
desktopName = "WhatsApp";
link = "https://web.whatsapp.com/";
}
{
desktopName = "YouTube";
link = "https://www.youtube.com";
categories = [ "AudioVideo" ];
}
{
desktopName = "Plex";
link = "https://app.plex.tv";
desktopName = "Plex";
categories = [ "AudioVideo" ];
}
{
link = "https://primevideo.com";
desktopName = "Prime Video";
categories = [ "AudioVideo" ];
}
{
link = "https://mail.protonmail.com";
desktopName = "Protonmail";
categories = [ "Office" ];
}
{
link = "https://www.twitch.tv";
desktopName = "Twitch";
categories = [ "AudioVideo" ];
}
{
link = "https://web.whatsapp.com/";
desktopName = "WhatsApp";
}
{
link = "https://www.youtube.com";
desktopName = "YouTube";
categories = [ "AudioVideo" ];
}
];