Skip to content

Commit

Permalink
Allow google-chrome access to the custom flags files in ~/.config. (#…
Browse files Browse the repository at this point in the history
…3418)

* Allow google-chrome access to the custom flags files in ~/.config.

* Added noblacklist for the custom flag files for google-chrome-stable.

* Allow read access to the custom flag files for both google-chrome-beta and google-chrome-unstable.

* Added the custom flag files for google-chrome stable, beta and unstable to the disable-programs.inc list.
  • Loading branch information
mace015 authored May 16, 2020
1 parent 57ff39e commit 10a67cb
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/inc/disable-programs.inc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ blacklist ${HOME}/.config/cantata
blacklist ${HOME}/.config/catfish
blacklist ${HOME}/.config/celluloid
blacklist ${HOME}/.config/cherrytree
blacklist ${HOME}/.config/chrome-flags.conf
blacklist ${HOME}/.config/chrome-flags.config
blacklist ${HOME}/.config/chrome-beta-flags.conf
blacklist ${HOME}/.config/chrome-beta-flags.config
blacklist ${HOME}/.config/chrome-unstable-flags.conf
blacklist ${HOME}/.config/chrome-unstable-flags.config
blacklist ${HOME}/.config/chromium
blacklist ${HOME}/.config/chromium-dev
blacklist ${HOME}/.config/chromium-flags.conf
Expand Down
6 changes: 6 additions & 0 deletions etc/profile-a-l/google-chrome-beta.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ include globals.local
noblacklist ${HOME}/.cache/google-chrome-beta
noblacklist ${HOME}/.config/google-chrome-beta

noblacklist ${HOME}/.config/chrome-beta-flags.conf
noblacklist ${HOME}/.config/chrome-beta-flags.config

mkdir ${HOME}/.cache/google-chrome-beta
mkdir ${HOME}/.config/google-chrome-beta
whitelist ${HOME}/.cache/google-chrome-beta
whitelist ${HOME}/.config/google-chrome-beta

whitelist ${HOME}/.config/chrome-beta-flags.conf
whitelist ${HOME}/.config/chrome-beta-flags.config

# Redirect
include chromium-common.profile
6 changes: 6 additions & 0 deletions etc/profile-a-l/google-chrome-unstable.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ include globals.local
noblacklist ${HOME}/.cache/google-chrome-unstable
noblacklist ${HOME}/.config/google-chrome-unstable

noblacklist ${HOME}/.config/chrome-unstable-flags.conf
noblacklist ${HOME}/.config/chrome-unstable-flags.config

mkdir ${HOME}/.cache/google-chrome-unstable
mkdir ${HOME}/.config/google-chrome-unstable
whitelist ${HOME}/.cache/google-chrome-unstable
whitelist ${HOME}/.config/google-chrome-unstable

whitelist ${HOME}/.config/chrome-unstable-flags.conf
whitelist ${HOME}/.config/chrome-unstable-flags.config

# Redirect
include chromium-common.profile
6 changes: 6 additions & 0 deletions etc/profile-a-l/google-chrome.profile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,16 @@ include globals.local
noblacklist ${HOME}/.cache/google-chrome
noblacklist ${HOME}/.config/google-chrome

noblacklist ${HOME}/.config/chrome-flags.conf
noblacklist ${HOME}/.config/chrome-flags.config

mkdir ${HOME}/.cache/google-chrome
mkdir ${HOME}/.config/google-chrome
whitelist ${HOME}/.cache/google-chrome
whitelist ${HOME}/.config/google-chrome

whitelist ${HOME}/.config/chrome-flags.conf
whitelist ${HOME}/.config/chrome-flags.config

# Redirect
include chromium-common.profile

0 comments on commit 10a67cb

Please sign in to comment.