Webapps: switch to firefox

This commit is contained in:
Filippo Berto 2024-08-03 17:13:53 +02:00
parent deee597cd9
commit d1cf0e2a2e
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,14 +1,14 @@
{ 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}";
# vivaldi-cmd = link: "${pkgs.vivaldi}/bin/vivaldi --app=${link}";
# firefox-cmd = link: "firefox --new-window ${link}";
firefox-cmd = link: "firefox --new-window ${link}";
webAppBuilder =
{ desktopName
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName
, link
, cmd ? chrome-cmd
, cmd ? firefox-cmd
, icon ? lib.toLower name
, comment ? null
, categories ? [ "Network" ]