~piotr-machura/dotfiles

d00aaf4d18875b9474ac4d2d68ef67cc5e399101 — Piotr Machura 3 months ago 201bb1b
Add section on chromium
1 files changed, 27 insertions(+), 15 deletions(-)

M README.md
M README.md => README.md +27 -15
@@ 287,21 287,33 @@ xfconf-query --channel thunar --property /misc-full-path-in-title --create --typ
xfconf-query --channel thunar --property /misc-image-size-in-statusbar --create --type bool --set true
```

### Firefox

The repository will clone `userChrome.css` and `userContent.css` into
`~/.local/share/firefox-chrome` . To use them perform the following steps:

1. Open Firefox and go to *"about:config"*.
2. Accept the risk and search for *"UserProfileCustomizations"* . Set it to *"true"*.
3. Search for *"helpers.private*mime*types*file"* . Set it to
*"~/.local/share/firefox-chrome/mime.types"*.
4. Go to `~/.mozilla/firefox/xxxxxxxx.default-release`.
5. Link the cloned chrome folder `ln -s ~/.local/share/firefox-chrome/ chrome` .
6. Restart the browser.

Redirector config is available in `~/.config/redirector.json` and can be imported in
the extension settings. Same with the BTTV config in `~/.config/bttv.json`.
### Chromium

Set download folder to `/home/<your username>` and theme to classic black. Here are
some essential extensions:

**Privacy:**
- [uBlock Origin](https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm)
- [Redirector](https://chrome.google.com/webstore/detail/redirector/ocgpenflpmgnfapjedencafcfakcekcd)
- [Clear URLS](https://chrome.google.com/webstore/detail/clearurls/lckanjgmijmafbedllaakclkaicjfmnk)
- [I don't care about cookies](https://chrome.google.com/webstore/detail/i-dont-care-about-cookies/fihnjjcciajhdojfnbdddfaoknhalnja)
 
**Extra functionality:**
- [Bitwarden](https://chrome.google.com/webstore/detail/bitwarden-free-password-m/nngceckbapebfimnlniiiahkandclblb)
- [Markdown Viewer](https://chrome.google.com/webstore/detail/markdown-viewer/ckkdlimhmcjmikdlpkmbgfkaikojcbjk)
- [Stylus](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne)

**Cosmetic:**
- [Smooth scroll](https://chrome.google.com/webstore/detail/chromium-wheel-smooth-scr/khpcanbeojalbkpgpmjpdkjnkfcgfkhb)
- [Blank new tab](https://chrome.google.com/webstore/detail/blank-new-tab-dark-mode/kbgpnmhanjagjnkiekpnkcefiafpapfa)
 
The redirector configs can be found at `~/.config/chromium/redirector.json`. To preview
markdown files allow the *"Markdown viewer"* access to `file://` URLs and apply custom
CSS with Stylus sheet located at `~/.config/chromium/stylus.css`. Enable LaTeX math and
GitHub theme in Viewer's settings.

To use fitting dark scrollbars enable developer mode and drag the extension from
`~/.local/share/themes/Materia-black/chrome-scrollbar.crx` into Chromium's window.

## Desktop files