fixed waybar

This commit is contained in:
Charlie Root 2024-08-07 00:43:51 +02:00
commit 4d7e087fdc
2 changed files with 6 additions and 7 deletions

View file

@ -2,7 +2,6 @@
config, config,
inputs, inputs,
lib, lib,
pkgs,
... ...
}: let }: let
cfg = config.modules.system.programs.firefox; cfg = config.modules.system.programs.firefox;
@ -105,7 +104,7 @@ in {
]; ];
}; };
extensions = { extensions = {
simplefox.enable = false; simplefox.enable = true;
darkreader.enable = true; darkreader.enable = true;
enableExtraExtensions = true; enableExtraExtensions = true;
enableDefaultExtensions = true; enableDefaultExtensions = true;
@ -164,7 +163,7 @@ in {
security = { security = {
sanitizeOnShutdown = false; sanitizeOnShutdown = false;
sandbox = true; sandbox = false;
noSessionRestore = false; noSessionRestore = false;
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0"; userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
}; };
@ -186,11 +185,11 @@ in {
"browser.ctrlTab.sortByRecentlyUsed" = true; "browser.ctrlTab.sortByRecentlyUsed" = true;
# This makes websites prefer a dark theme (in theory) # This makes websites prefer a dark theme (in theory)
"layout.css.prefers-color-scheme.content-override" = 0; "layout.css.prefers-color-scheme.content-override" = 0;
"widget.use-xdg-desktop-portal.file-picker" = 1; # "widget.use-xdg-desktop-portal.file-picker" = 1;
# Leaving this on breaks a lot # Leaving this on breaks a lot
# "privacy.resistFingerprinting" = false; # "privacy.resistFingerprinting" = false;
"permissions.fullscreen.allowed" = true; # "permissions.fullscreen.allowed" = true;
"dom.webnotifications.enabled" = true; # "dom.webnotifications.enabled" = true;
}; };
}; };
}; };

View file

@ -42,7 +42,7 @@ in {
sort-by-coordinates = false; sort-by-coordinates = false;
on-click = "activate"; on-click = "activate";
#on-scroll = "~/Scripts/cycle_workspace.sh 1"; #on-scroll = "~/Scripts/cycle_workspace.sh 1";
active-only = false; active-only = true;
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"1" = "1"; "1" = "1";