forked from extern/nix-config
PKGBUILDs: Add sensible-chromium
I actually wrote this in 2018 but never committed it. Might as well do that now. The extensions it installs are uBlock Origin, Vimium, and HTTPS Everywhere.
This commit is contained in:
parent
e2ca722963
commit
6b109ac0d0
6
.archlinux/PKGBUILDs/sensible-chromium/101-search-provider.json
vendored
Normal file
6
.archlinux/PKGBUILDs/sensible-chromium/101-search-provider.json
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"DefaultSearchProviderEnabled": true,
|
||||||
|
"DefaultSearchProviderName": "DuckDuckGo",
|
||||||
|
"DefaultSearchProviderSearchURL": "https://duckduckgo.com/?q={searchTerms}",
|
||||||
|
"DefaultSearchProviderIconURL": "https://duckduckgo.com/favicon.ico"
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/102-homepage.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/102-homepage.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"HomepageIsNewTabPage": true
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/103-new-tab.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/103-new-tab.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"NewTabPageLocation": "http://localhost:3000"
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/201-promotional-tabs.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/201-promotional-tabs.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"PromotionalTabsEnabled": false
|
||||||
|
}
|
4
.archlinux/PKGBUILDs/sensible-chromium/202-safe-browsing.json
vendored
Normal file
4
.archlinux/PKGBUILDs/sensible-chromium/202-safe-browsing.json
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"SafeBrowsingEnabled": false,
|
||||||
|
"SafeBrowsingExtendedReportingEnabled": false
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/203-download-location.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/203-download-location.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"PromptForDownloadLocation": false
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/204-search-suggestions.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/204-search-suggestions.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"SearchSuggestEnabled": false
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/205-spell-check.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/205-spell-check.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"SpellCheckServiceEnabled": false
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/206-data-collection.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/206-data-collection.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"UrlKeyedAnonymizedDataCollectionEnabled": false
|
||||||
|
}
|
47
.archlinux/PKGBUILDs/sensible-chromium/PKGBUILD
vendored
Normal file
47
.archlinux/PKGBUILDs/sensible-chromium/PKGBUILD
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
pkgname=sensible-chromium
|
||||||
|
pkgver=0.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Sane defaults for the chromium web browser"
|
||||||
|
arch=('any')
|
||||||
|
source=('cjpalhdlnbpafiamejdnhcphjbkeiagm.json'
|
||||||
|
'dbepggeogbaibhgnhhndojpepiihcmeb.json'
|
||||||
|
'gcbommkclmclpchllfjekcdonpmejbdp.json'
|
||||||
|
'101-search-provider.json'
|
||||||
|
'102-homepage.json'
|
||||||
|
'103-new-tab.json'
|
||||||
|
'201-promotional-tabs.json'
|
||||||
|
'202-safe-browsing.json'
|
||||||
|
'203-download-location.json'
|
||||||
|
'204-search-suggestions.json'
|
||||||
|
'205-spell-check.json'
|
||||||
|
'206-data-collection.json')
|
||||||
|
sha256sums=('5bcd92f712b450ecb20eb390f957216d488e5dc0c4abbb2cbf4dd6b570b11edc'
|
||||||
|
'5bcd92f712b450ecb20eb390f957216d488e5dc0c4abbb2cbf4dd6b570b11edc'
|
||||||
|
'5bcd92f712b450ecb20eb390f957216d488e5dc0c4abbb2cbf4dd6b570b11edc'
|
||||||
|
'c76a7a4c6b8ba10b2c2f478c3fce8577c055b1c7c3216d6feba550f097aaca4c'
|
||||||
|
'3bd32ca3c77ad91ce8355223d76385e21ff49fc6388bc1dc017319a402908141'
|
||||||
|
'4d325fd0787f3fd9b9b16bcf5159ebaafdf0f722b9eaaa9deeb4758300f8cb56'
|
||||||
|
'283923b96ca0b58340dcb35d5d782d8d49d806cdaea8b70a95365f154e916907'
|
||||||
|
'c7034bb6f603599592e452ef5d6d6b676529cdb05454072eabc8037595256c8d'
|
||||||
|
'48c3aa65851a4287e1a97667f57be12245a1a54067debe0ea858452d6fec0b19'
|
||||||
|
'e6b382bda897e7e0731adde76a572fe4b075ed2a0d95b85678cd7184b43efec3'
|
||||||
|
'fcc676697f930529b8605c703f33239bc55cb2f4563043353af6b1ec8712e431'
|
||||||
|
'732abce54318ed2dd7fdb330800d5f2d989a0086eb8f581475279f151d8a55f4')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
_ext="$pkgdir"/usr/share/chromium/extensions
|
||||||
|
_pol="$pkgdir"/etc/chromium/policies
|
||||||
|
|
||||||
|
install -Dm644 cjpalhdlnbpafiamejdnhcphjbkeiagm.json "$_ext"/cjpalhdlnbpafiamejdnhcphjbkeiagm.json
|
||||||
|
install -Dm644 dbepggeogbaibhgnhhndojpepiihcmeb.json "$_ext"/dbepggeogbaibhgnhhndojpepiihcmeb.json
|
||||||
|
install -Dm644 gcbommkclmclpchllfjekcdonpmejbdp.json "$_ext"/gcbommkclmclpchllfjekcdonpmejbdp.json
|
||||||
|
install -Dm644 101-search-provider.json "$_pol"/recommended/101-search-provider.json
|
||||||
|
install -Dm644 102-homepage.json "$_pol"/recommended/102-homepage.json
|
||||||
|
install -Dm644 103-new-tab.json "$_pol"/recommended/103-new-tab.json
|
||||||
|
install -Dm644 201-promotional-tabs.json "$_pol"/managed/201-promotional-tabs.json
|
||||||
|
install -Dm644 202-safe-browsing.json "$_pol"/managed/202-safe-browsing.json
|
||||||
|
install -Dm644 203-download-location.json "$_pol"/managed/203-download-location.json
|
||||||
|
install -Dm644 204-search-suggestions.json "$_pol"/managed/204-search-suggestions.json
|
||||||
|
install -Dm644 205-spell-check.json "$_pol"/managed/205-spell-check.json
|
||||||
|
install -Dm644 206-data-collection.json "$_pol"/managed/206-data-collection.json
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/cjpalhdlnbpafiamejdnhcphjbkeiagm.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/cjpalhdlnbpafiamejdnhcphjbkeiagm.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/dbepggeogbaibhgnhhndojpepiihcmeb.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/dbepggeogbaibhgnhhndojpepiihcmeb.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
|
}
|
3
.archlinux/PKGBUILDs/sensible-chromium/gcbommkclmclpchllfjekcdonpmejbdp.json
vendored
Normal file
3
.archlinux/PKGBUILDs/sensible-chromium/gcbommkclmclpchllfjekcdonpmejbdp.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user