Move from chrome to firefox

This commit is contained in:
Filippo Berto 2023-11-09 14:24:55 +01:00
parent ab810d2dc8
commit 27bc06b6ea
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
3 changed files with 7 additions and 7 deletions

View file

@ -1,13 +1,13 @@
{ 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}";
# firefox-cmd = link: "firefox --new-window ${link}";
# chrome-cmd = link: "${pkgs.google-chrome}/bin/google-chrome-stable --app=${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" ]