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

@ -30,7 +30,7 @@
# evolution # evolution
gallery-dl gallery-dl
geeqie geeqie
google-chrome # google-chrome
gucharmap gucharmap
handbrake handbrake
httpie httpie
@ -104,7 +104,7 @@
../../modules/hm/dunst.nix ../../modules/hm/dunst.nix
# ../../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/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

@ -33,7 +33,7 @@
filelight filelight
gallery-dl gallery-dl
geeqie geeqie
google-chrome # google-chrome
gucharmap gucharmap
handbrake handbrake
httpie httpie
@ -96,7 +96,7 @@
../../modules/hm/dunst.nix ../../modules/hm/dunst.nix
# ../../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/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

@ -1,13 +1,13 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
# 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}";
# 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 ? chrome-cmd , cmd ? firefox-cmd
, icon ? lib.toLower name , icon ? lib.toLower name
, comment ? null , comment ? null
, categories ? [ "Network" ] , categories ? [ "Network" ]