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,
inputs,
lib,
pkgs,
...
}: let
cfg = config.modules.system.programs.firefox;
@ -105,7 +104,7 @@ in {
];
};
extensions = {
simplefox.enable = false;
simplefox.enable = true;
darkreader.enable = true;
enableExtraExtensions = true;
enableDefaultExtensions = true;
@ -164,7 +163,7 @@ in {
security = {
sanitizeOnShutdown = false;
sandbox = true;
sandbox = false;
noSessionRestore = false;
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;
# This makes websites prefer a dark theme (in theory)
"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
# "privacy.resistFingerprinting" = false;
"permissions.fullscreen.allowed" = true;
"dom.webnotifications.enabled" = true;
# "permissions.fullscreen.allowed" = true;
# "dom.webnotifications.enabled" = true;
};
};
};

View file

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