Add vivaldi-private script/desktop item

This commit is contained in:
Henrik Lissner 2020-01-17 19:36:39 -05:00
parent f831429666
commit 26f9c85a8b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -3,6 +3,18 @@
{
my.packages = with pkgs; [
vivaldi
(pkgs.writeScriptBin "vivaldi-private" ''
#!${stdenv.shell}
${vivaldi}/bin/vivaldi --incognito "$@"
'')
(makeDesktopItem {
name = "vivaldi-private";
desktopName = "Vivaldi (Incognito)";
genericName = "Open an incognito Vivaldi window";
icon = "vivaldi";
exec = "${vivaldi}/bin/vivaldi --incognito";
categories = "Network";
})
];
my.env.BROWSER = "vivaldi";
}