diff options
| author | brustybee <bee@4d2.org> | 2026-03-13 14:28:33 +0530 |
|---|---|---|
| committer | brustybee <bee@4d2.org> | 2026-03-13 14:28:33 +0530 |
| commit | 6b7b13a08b0df2cb22d3927d9d4e24e48b006120 (patch) | |
| tree | 51cfbf5ac56678372e4057ac414b7713b7e8ad1f /common/programs | |
| parent | c3f5799c70a15902e706d65d09fc4565267c5064 (diff) | |
i like it boxy fix xorg systemd services startup and more
Diffstat (limited to 'common/programs')
| -rw-r--r-- | common/programs/zenBrowser.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/programs/zenBrowser.nix b/common/programs/zenBrowser.nix index 60a4ae3..8d9f08e 100644 --- a/common/programs/zenBrowser.nix +++ b/common/programs/zenBrowser.nix @@ -112,4 +112,38 @@ in } ) ]; + + xdg.configFile = { + "userContent.css" = { + enable = true; + text = + # css + '' + img, canvas, video, .avatar, + [class*="avatar"], + [class*="ProfileAvatar"], + [style*="border-radius"] { + border-radius: 0 !important; + clip-path: none !important; + mask-image: none !important; + -webkit-mask-image: none !important; + } + + /* 2. Reset standard rounding on all elements EXCEPT SVGs */ + :not(svg):not(circle):not(ellipse):not(path) { + border-radius: 0 !important; + } + + /* 3. Handle variables that usually affect containers/images */ + :root { + --border-radius: 0px !important; + --radius: 0px !important; + --rounded-corner: 0px !important; + --avatar-radius: 0px !important; + --pfp-radius: 0px !important; + } + ''; + }; + }; + } |
