split waybar into multiple files

This commit is contained in:
Lucy Hochkamp 2025-10-06 21:29:04 +02:00
parent 53c7532351
commit 7cff7f09c3
No known key found for this signature in database
29 changed files with 953 additions and 617 deletions

View file

@ -42,12 +42,28 @@ in
moz = name: "https://addons.mozilla.org/firefox/downloads/latest/${name}/latest.xpi";
in
{
"{d07ccf11-c0cd-4938-a265-2a4d6ad01189}" = {
# web archives
default_area = "navbar";
install_url = moz "view_page_archive";
installation_mode = "force_installed";
private_browsing = true;
};
"de_DE@dicts.j3e.de" = {
install_url = moz "german_dictionary_de_de_for_sp";
};
"uBlock0@raymondhill.net" = {
default_area = "menupanel";
install_url = moz "ublock-origin";
installation_mode = "force_installed";
private_browsing = true;
};
"uMatrix@raymondhill.net" = {
default_area = "menupanel";
install_url = moz "umatrix";
installation_mode = "force_installed";
private_browsing = true;
};
"vimium-c@gdh1995.cn" = {
default_area = "navbar";
install_url = moz "vimium-c";
@ -154,10 +170,21 @@ in
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.clearOnShutdown_v2.formdata" = true;
"privacy.history.custom" = true;
"privacy.query_stripping.enabled" = true;
"extensions.formautofill.addresses.enabled" = false;
"extensions.formautofill.creditCards.enabled" = false;
"zen.view.use-single-toolbar" = false;
"zen.welcome-screen.seen" = true;
"browser.translations.neverTranslateLanguages" = "de";
"dom.security.https_only_mode" = true;
"dom.security.https_only_mode_ever_enabled" = true;
# things ripped from https://github.com/yokoffing/Betterfox/blob/main/Fastfox.js
"media.memory_cache_max_size" = 65536;
"media.cache_readahead_limit" = 7200;
@ -225,6 +252,13 @@ in
];
url = "https://nixos.org/manual/nixos/stable/#sec-option-declarations";
}
{
name = "Home Manager Options";
tags = [
"nix"
];
url = "https://nix-community.github.io/home-manager/options.xhtml";
}
{
name = "homepage";
url = "https://nixos.org/";
@ -244,6 +278,34 @@ in
extensions.force = true;
extensions.settings = {
"{d07ccf11-c0cd-4938-a265-2a4d6ad01189}".settings = {
engines = [
"archiveIs"
"archiveOrg"
"archiveOrgAll"
"yandex"
"archiveIsAll"
"memento"
"permacc"
"megalodon"
"ghostarchive"
"webcite"
];
menuItems = [
"openCurrentDoc_1"
"sep_1"
"search_allEngines_1"
"sep_2"
"search_archiveIs_1"
"search_archiveOrg_1"
"search_yandex_1"
"search_memento_1"
"search_permacc_1"
"search_megalodon_1"
"search_ghostarchive_1"
"search_webcite_1"
];
};
"vimium-c@gdh1995.cn".settings = {
searchEngines = ''
g|go|gg|google|Google: https://www.google.com/search?q=%s \\