|Quinn Casey a9f4f5e290||1 week ago|
|patches||6 months ago|
|.drone.yml||2 months ago|
|PKGBUILD.patch||1 week ago|
|README.md||4 months ago|
|SalientStartpage.gif||11 months ago|
|after.gif||11 months ago|
|before.gif||11 months ago|
|startpage.gif||11 months ago|
My custom Chromium patches, including:
- Extension-less startpage that maintains its address bar focus.
- Dynamic GTK dark mode for Linux distros with a Night/Day theme
Problem: Google Chrome (Chromium pictured here) requires you to install an extension to change your new tab page. This would be fine, except that new tab loses focus of the searchbar! It also loads far slower than it should.
Solution: Build Chromium with all instances of chrome://newtab replaced with your custom startpage URL. This patch does the replacement, and also adds some checks to ensure the URL is hidden and the searchbar keeps its focus. 😃
GTK Dark Theme
Problem: Chrome does not respect GTK themes when it sets
prefers-color-scheme. It's a somewhat long-lived bug in Chromium on Linux. Here is the bugreport and Electron issue:
Solution-(ish): Use this patch to add a very naive forced update to the Web and NativeUI themes. This most likely should be done with listeners like Chromium already uses for Windows and MacOS, but GTK seems deliberately left out.
I don't know enough about the monolithic structure to provide an actual contribution, but this works well enough for me.