fixes for work setup

This commit is contained in:
2024-10-08 06:20:39 +02:00
parent ec1513fbf3
commit e96f3340c4
10 changed files with 497 additions and 340 deletions

View File

@ -11,50 +11,12 @@
i-dont-care-about-cookies
privacy-badger
ublock-origin
tree-style-tab
tridactyl
# tree-style-tab
# tridactyl
keepassxc-browser
];
customChrome = ''
@-moz-document url(chrome://browser/content/browser.xhtml) {
/* tabs on bottom of window */
/* requires that you set
* toolkit.legacyUserProfileCustomizations.stylesheets = true
* in about:config
*/
#main-window body { flex-direction: column-reverse !important; }
#navigator-toolbox { flex-direction: column-reverse !important; }
#urlbar {
top: unset !important;
bottom: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
box-shadow: none !important;
display: flex !important;
flex-direction: column !important;
}
#urlbar-input-container {
order: 2;
}
#urlbar > .urlbarView {
order: 1;
border-bottom: 1px solid #666;
}
#urlbar-results {
display: flex;
flex-direction: column-reverse;
}
.search-one-offs { display: none !important; }
.tab-background { border-top: none !important; }
#navigator-toolbox::after { border: none; }
#TabsToolbar .tabbrowser-arrowscrollbox,
#tabbrowser-tabs, .tab-stack { min-height: 28px !important; }
.tabbrowser-tab { font-size: 80%; }
.tab-content { padding: 0 5px; }
.tab-close-button .toolbarbutton-icon { width: 12px !important; height: 12px !important; }
toolbox[inFullscreen=true] { display: none; }
}
'';
userChrome = customChrome;
userChrome = builtins.readFile ./userChrome.css;
# ~/.mozilla/firefox/PROFILE_NAME/prefs.js | user.js
settings = {
@ -84,6 +46,10 @@
"browser.urlbar.shortcuts.quickactions" = false;
"browser.urlbar.suggest.quickactions" = false;
# disable tab preview on hover
"browser.tabs.hoverPreview.enabled" = false;
"browser.tabs.hoverPreview.showThumbnails" = false;
"distribution.searchplugins.defaultLocale" = "en-US";
"doh-rollout.balrog-migration-done" = true;
@ -127,14 +93,14 @@ in {
};
};
webapps = {
rocket-chat = {
url = "https://chat.hetzner.company";
id = 1;
# webapps = {
# rocket-chat = {
# url = "https://chat.hetzner.company";
# id = 1;
genericName = "Internet Messenger";
categories = ["Network" "InstantMessaging"];
};
};
# genericName = "Internet Messenger";
# categories = ["Network" "InstantMessaging"];
# };
# };
};
}