Switch to Vivaldi

This commit is contained in:
Filippo Berto 2024-01-19 09:54:38 +01:00
parent 4609ec520e
commit 4c2253a42e
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
4 changed files with 8 additions and 2 deletions

View file

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