mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
Add desktop entries for incognito & tor
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.brave = {
|
programs.brave = {
|
||||||
enable = true;
|
enable = true;
|
||||||
commandLineArgs = [
|
commandLineArgs = [
|
||||||
@@ -9,4 +13,24 @@
|
|||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
DEFAULT_BROWSER = "${pkgs.brave}/bin/brave";
|
DEFAULT_BROWSER = "${pkgs.brave}/bin/brave";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.desktopEntries = {
|
||||||
|
brave-incognito = {
|
||||||
|
name = "Brave (Private window)";
|
||||||
|
genericName = "Navigateur Web";
|
||||||
|
exec = "brave --incognito";
|
||||||
|
icon = "brave-browser";
|
||||||
|
terminal = false;
|
||||||
|
categories = ["Network" "WebBrowser"];
|
||||||
|
mimeType = ["text/html" "text/xml"];
|
||||||
|
};
|
||||||
|
brave-tor = {
|
||||||
|
name = "Brave (Private window w/Tor)";
|
||||||
|
genericName = "Navigateur Web";
|
||||||
|
exec = "brave --tor";
|
||||||
|
icon = "brave-browser";
|
||||||
|
terminal = false;
|
||||||
|
categories = ["Network" "WebBrowser"];
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user