Browser: change to chrome

This commit is contained in:
Filippo Berto 2024-02-14 15:32:54 +01:00
parent 6e943f56f3
commit 06dae95bc1
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
3 changed files with 4 additions and 4 deletions

View file

@ -106,7 +106,7 @@
# ../../modules/hm/dwarf-fortress.nix # ../../modules/hm/dwarf-fortress.nix
../../modules/hm/easyeffects.nix ../../modules/hm/easyeffects.nix
../../modules/hm/firefox.nix ../../modules/hm/firefox.nix
../../modules/hm/vivaldi.nix # ../../modules/hm/vivaldi.nix
# ../../modules/hm/fonts.nix # ../../modules/hm/fonts.nix
# ../../modules/hm/gnome_shell.nix # ../../modules/hm/gnome_shell.nix
# ../../modules/hm/grobi.nix # ../../modules/hm/grobi.nix

View file

@ -94,7 +94,7 @@
# ../../modules/hm/dwarf-fortress.nix # ../../modules/hm/dwarf-fortress.nix
../../modules/hm/easyeffects.nix ../../modules/hm/easyeffects.nix
../../modules/hm/firefox.nix ../../modules/hm/firefox.nix
../../modules/hm/vivaldi.nix # ../../modules/hm/vivaldi.nix
../../modules/hm/fonts.nix ../../modules/hm/fonts.nix
# ../../modules/hm/gnome_shell.nix # ../../modules/hm/gnome_shell.nix
# ../../modules/hm/grobi.nix # ../../modules/hm/grobi.nix

View file

@ -2,13 +2,13 @@
# Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry # Categories: https://specifications.freedesktop.org/menu-spec/latest/apa.html#main-category-registry
let 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}"; # vivaldi-cmd = link: "${pkgs.vivaldi}/bin/vivaldi --app=${link}";
# firefox-cmd = link: "firefox --new-window ${link}"; # firefox-cmd = link: "firefox --new-window ${link}";
webAppBuilder = webAppBuilder =
{ desktopName { desktopName
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName , name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName
, link , link
, cmd ? vivaldi-cmd , cmd ? chrome-cmd
, icon ? lib.toLower name , icon ? lib.toLower name
, comment ? null , comment ? null
, categories ? [ "Network" ] , categories ? [ "Network" ]