mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: clean up superfluous firefox config
This commit is contained in:
parent
aac4efaaa2
commit
ce3d75afdd
3 changed files with 4 additions and 99 deletions
|
|
@ -9378,7 +9378,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
||||||
lib.recursiveUpdate
|
lib.recursiveUpdate
|
||||||
{
|
{
|
||||||
"${modifier}+q" = "kill";
|
"${modifier}+q" = "kill";
|
||||||
"${modifier}+f" = "exec firefox -p cl_adm";
|
"${modifier}+f" = "exec firefox";
|
||||||
"${modifier}+Shift+f" = "exec swaymsg fullscreen";
|
"${modifier}+Shift+f" = "exec swaymsg fullscreen";
|
||||||
"${modifier}+Space" = "exec fuzzel";
|
"${modifier}+Space" = "exec fuzzel";
|
||||||
"${modifier}+Shift+Space" = "floating toggle";
|
"${modifier}+Shift+Space" = "floating toggle";
|
||||||
|
|
@ -9816,11 +9816,6 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
id = 3;
|
id = 3;
|
||||||
<<firefoxprofile>>
|
<<firefoxprofile>>
|
||||||
};
|
};
|
||||||
# i need this profile because xdg-open uses cl_adm profile no matter what i do
|
|
||||||
cl_adm_real = {
|
|
||||||
id = 4;
|
|
||||||
<<firefoxprofile>>
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -9871,18 +9866,12 @@ The rest of the settings is at [[#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf][work]]
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox_cl = {
|
firefox_cl = {
|
||||||
name = "Firefox (Main)";
|
name = "Firefox (cl_adm)";
|
||||||
genericName = "Firefox cl";
|
genericName = "Firefox cl";
|
||||||
exec = "firefox -p cl_adm";
|
exec = "firefox -p cl_adm";
|
||||||
inherit terminal categories icon;
|
inherit terminal categories icon;
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox_cl_real = {
|
|
||||||
name = "Firefox (cl_adm)";
|
|
||||||
genericName = "Firefox";
|
|
||||||
exec = "firefox -p cl_adm_real";
|
|
||||||
inherit terminal categories icon;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ in
|
||||||
lib.recursiveUpdate
|
lib.recursiveUpdate
|
||||||
{
|
{
|
||||||
"${modifier}+q" = "kill";
|
"${modifier}+q" = "kill";
|
||||||
"${modifier}+f" = "exec firefox -p cl_adm";
|
"${modifier}+f" = "exec firefox";
|
||||||
"${modifier}+Shift+f" = "exec swaymsg fullscreen";
|
"${modifier}+Shift+f" = "exec swaymsg fullscreen";
|
||||||
"${modifier}+Space" = "exec fuzzel";
|
"${modifier}+Space" = "exec fuzzel";
|
||||||
"${modifier}+Shift+Space" = "floating toggle";
|
"${modifier}+Shift+Space" = "floating toggle";
|
||||||
|
|
|
||||||
|
|
@ -286,84 +286,6 @@
|
||||||
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
||||||
|
|
||||||
};
|
};
|
||||||
# i need this profile because xdg-open uses cl_adm profile no matter what i do
|
|
||||||
cl_adm_real = {
|
|
||||||
id = 4;
|
|
||||||
|
|
||||||
isDefault = false;
|
|
||||||
userChrome = builtins.readFile ../../../programs/firefox/chrome/userChrome.css;
|
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
|
||||||
tridactyl
|
|
||||||
browserpass
|
|
||||||
clearurls
|
|
||||||
darkreader
|
|
||||||
enhancer-for-youtube
|
|
||||||
istilldontcareaboutcookies
|
|
||||||
translate-web-pages
|
|
||||||
ublock-origin
|
|
||||||
reddit-enhancement-suite
|
|
||||||
sponsorblock
|
|
||||||
web-archives
|
|
||||||
onepassword-password-manager
|
|
||||||
single-file
|
|
||||||
widegithub
|
|
||||||
enhanced-github
|
|
||||||
unpaywall
|
|
||||||
don-t-fuck-with-paste
|
|
||||||
plasma-integration
|
|
||||||
];
|
|
||||||
|
|
||||||
search.engines = {
|
|
||||||
"Nix Packages" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://search.nixos.org/packages";
|
|
||||||
params = [
|
|
||||||
{ name = "type"; value = "packages"; }
|
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = [ "@np" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"NixOS Wiki" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://nixos.wiki/index.php?search={searchTerms}";
|
|
||||||
}];
|
|
||||||
iconUpdateURL = "https://nixos.wiki/favicon.png";
|
|
||||||
updateInterval = 24 * 60 * 60 * 1000; # every day
|
|
||||||
definedAliases = [ "@nw" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"NixOS Options" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://search.nixos.org/options";
|
|
||||||
params = [
|
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = [ "@no" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"Home Manager Options" = {
|
|
||||||
urls = [{
|
|
||||||
template = "https://home-manager-options.extranix.com/";
|
|
||||||
params = [
|
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = [ "@hm" "@ho" "@hmo" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
"Google".metaData.alias = "@g";
|
|
||||||
};
|
|
||||||
search.force = true; # this is required because otherwise the search.json.mozlz4 symlink gets replaced on every firefox restart
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -414,18 +336,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox_cl = {
|
firefox_cl = {
|
||||||
name = "Firefox (Main)";
|
name = "Firefox (cl_adm)";
|
||||||
genericName = "Firefox cl";
|
genericName = "Firefox cl";
|
||||||
exec = "firefox -p cl_adm";
|
exec = "firefox -p cl_adm";
|
||||||
inherit terminal categories icon;
|
inherit terminal categories icon;
|
||||||
};
|
};
|
||||||
|
|
||||||
firefox_cl_real = {
|
|
||||||
name = "Firefox (cl_adm)";
|
|
||||||
genericName = "Firefox";
|
|
||||||
exec = "firefox -p cl_adm_real";
|
|
||||||
inherit terminal categories icon;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue