29 current 2025-04-29 02:34:34 25.05.20250424.f771eb4 6.12.24 *

This commit is contained in:
2025-04-29 02:34:48 -04:00
parent ad80ef5467
commit 297c7aee5d
3 changed files with 12 additions and 6 deletions

View File

@@ -1,8 +1,17 @@
{
pkgs,
lib,
osConfig,
...
}: {
}: let
# osConfig carries config from configuration.nix
scale =
if osConfig.res == "1366x768"
then 0.80
else if osConfig.res == "2560x1440"
then 1.25
else 1.00;
in {
home.activation.copyStartpage = lib.mkAfter ''
mkdir -p ~/.firefox-startpage
cp -r ${./startpage}/* ~/.firefox-startpage/
@@ -121,7 +130,7 @@
"mousewheel.with_control.action" = "1";
# should change this based on your resolution
"layout.css.devPixelsPerPx" = 1.25;
"layout.css.devPixelsPerPx" = scale;
"extensions.activeThemeID" = "firefox-compact-dark@mozilla.org";
"full-screen-api.ignore-widgets" = true;