Switch to Vivaldi
This commit is contained in:
parent
4609ec520e
commit
4c2253a42e
4 changed files with 8 additions and 2 deletions
|
|
@ -106,6 +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/fonts.nix
|
# ../../modules/hm/fonts.nix
|
||||||
# ../../modules/hm/gnome_shell.nix
|
# ../../modules/hm/gnome_shell.nix
|
||||||
# ../../modules/hm/grobi.nix
|
# ../../modules/hm/grobi.nix
|
||||||
|
|
|
||||||
|
|
@ -94,6 +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/fonts.nix
|
../../modules/hm/fonts.nix
|
||||||
# ../../modules/hm/gnome_shell.nix
|
# ../../modules/hm/gnome_shell.nix
|
||||||
# ../../modules/hm/grobi.nix
|
# ../../modules/hm/grobi.nix
|
||||||
|
|
|
||||||
3
modules/hm/vivaldi.nix
Normal file
3
modules/hm/vivaldi.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
home.packages = [ pkgs.vivaldi pkgs.vivaldi-ffmpeg-codecs ];
|
||||||
|
}
|
||||||
|
|
@ -2,12 +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}";
|
||||||
firefox-cmd = link: "firefox --new-window ${link}";
|
vivaldi-cmd = link: "${pkgs.vivaldi}/bin/vivaldi --app=${link}";
|
||||||
|
# firefox-cmd = link: "firefox --new-window ${link}";
|
||||||
webAppBuilder =
|
webAppBuilder =
|
||||||
{ desktopName
|
{ desktopName
|
||||||
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName
|
, name ? builtins.replaceStrings [ " " ] [ "_" ] desktopName
|
||||||
, link
|
, link
|
||||||
, cmd ? firefox-cmd
|
, cmd ? vivaldi-cmd
|
||||||
, icon ? lib.toLower name
|
, icon ? lib.toLower name
|
||||||
, comment ? null
|
, comment ? null
|
||||||
, categories ? [ "Network" ]
|
, categories ? [ "Network" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue