Add floorp package to firefox browser configuration
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
firefox = {
|
||||
enable = true;
|
||||
package = pkgs.floorp;
|
||||
policies = {
|
||||
enable = true;
|
||||
ExtensionSettings = {
|
||||
@@ -40,6 +41,8 @@
|
||||
"install_url" = "https://addons.mozilla.org/firefox/downloads/latest/user-agent-switcher-and-manager/latest.xpi";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
Preferences = {
|
||||
# This is a sample Nix GPO file generated from Betterfox preferences
|
||||
|
||||
@@ -276,108 +279,25 @@
|
||||
"general.smoothScroll.stopDecelerationWeighting" = 1.0;
|
||||
"mousewheel.default.delta_multiplier_y" = 300; # 250-400; adjust this number to your liking
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
profiles.panotaka = {
|
||||
settings = {
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
};
|
||||
userChrome = ''
|
||||
/* Sidebery */
|
||||
#main-window[titlepreface*="🦊 "] .tabbrowser-tab {
|
||||
visibility: collapse !important;
|
||||
}
|
||||
|
||||
#main-window[titlepreface*="🦊 "] .titlebar-button {
|
||||
height: 40px !important;
|
||||
}
|
||||
|
||||
#main-window[titlepreface*="🦊 "] #nav-bar {
|
||||
margin-top: -40px;
|
||||
margin-right: 137px;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
#main-window[titlepreface*="🦊 "] #titlebar-spacer {
|
||||
background-color: var(--chrome-secondary-background-color);
|
||||
}
|
||||
|
||||
#main-window[titlepreface*="🦊 "] #titlebar-buttonbox-container {
|
||||
background-color: var(--chrome-secondary-background-color);
|
||||
}
|
||||
|
||||
#main-window[titlepreface*="🦊 "] .titlebar-color {
|
||||
background-color: var(--toolbar-bgcolor);
|
||||
}
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar-header {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_sidebar.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
/* Show sidebar only when the cursor is over it */
|
||||
/* The border controlling sidebar width will be removed so you'll need to modify these values to change width */
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] {
|
||||
--uc-sidebar-width: 48px !important;
|
||||
--uc-sidebar-hover-width: 250px;
|
||||
--uc-autohide-sidebar-delay: 300ms; /* Wait 0.3s before hiding sidebar */
|
||||
position: relative;
|
||||
min-width: var(--uc-sidebar-width) !important;
|
||||
width: var(--uc-sidebar-width) !important;
|
||||
max-width: var(--uc-sidebar-width) !important;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] > #sidebar-splitter {
|
||||
display: none
|
||||
}
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] > #sidebar {
|
||||
transition: min-width 115ms linear var(--uc-autohide-sidebar-delay) !important;
|
||||
min-width: var(--uc-sidebar-width) !important;
|
||||
will-change: min-width;
|
||||
}
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover > #sidebar{
|
||||
min-width: var(--uc-sidebar-hover-width) !important;
|
||||
transition-delay: 0ms !important
|
||||
}
|
||||
|
||||
/* Add sidebar divider and give it background */
|
||||
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] > #sidebar,
|
||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] > #sidebar-header {
|
||||
background-color: var(--toolbar-bgcolor) !important;
|
||||
/* border-inline: 1px solid var(--sidebar-border-color) !important;*/
|
||||
border-inline: 1px solid var(--chrome-content-separator-color) !important;
|
||||
border-inline-width: 0px 1px;
|
||||
}
|
||||
#sidebar-box[positionend]{
|
||||
direction: rtl
|
||||
}
|
||||
#sidebar-box[positionend] > *{
|
||||
direction: ltr
|
||||
}
|
||||
|
||||
#sidebar-box[positionend]:-moz-locale-dir(rtl){
|
||||
direction: ltr
|
||||
}
|
||||
#sidebar-box[positionend]:-moz-locale-dir(rtl) > *{
|
||||
direction: rtl
|
||||
}
|
||||
'';
|
||||
};
|
||||
/*
|
||||
# Wait for https://github.com/NixOS/nixpkgs/pull/269817 to be merged
|
||||
package = pkgs.wrapFirefox pkgs.firefox-unwrapped {
|
||||
nixExtensions = with config.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
localcdn
|
||||
sidebery
|
||||
user-agent-switcher-and-manager
|
||||
];
|
||||
|
||||
extraPolicies = {
|
||||
|
||||
CaptivePortal = false;
|
||||
DisableFirefoxStudies = true;
|
||||
DisablePocket = true;
|
||||
@@ -391,6 +311,7 @@
|
||||
ExtensionRecommendations = false;
|
||||
SkipOnboarding = true;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user