Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.

Commit

Permalink
added Brave support
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Major committed Jan 28, 2019
1 parent 09d799f commit dedd993
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Use profile-cleaner to reduce the size of browser profiles by organizing their s

## Supported Browsers
* Aurora
* Brave (https://aur.archlinux.org/packages/brave-bin)
* Chromium (stable, beta, and dev)
* Conkeror
* Falkon
Expand Down
9 changes: 9 additions & 0 deletions common/profile-cleaner.in
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ case "$1" in
do_xulbased
exit 0
;;
B|b)
for name in BraveSoftware/Brave-Browser; do
export name
prepath="$XDG_CONFIG_HOME"/$name
[[ -d "$XDG_CONFIG_HOME"/$name ]] && do_chromebased
done
exit 0
;;
C|c|CB|cb|CD|cd)
for name in chromium chromium-beta chromium-dev; do
export name
Expand Down Expand Up @@ -321,6 +329,7 @@ case "$1" in
*)
echo -e " ${BLD}$0 ${NRM}${GRN}{browser abbreviation}${NRM}"
echo
echo -e " ${BLD}b) ${GRN}b${NRM}${BLD}rave${NRM}"
echo -e " ${BLD}c) ${GRN}c${NRM}${BLD}hromium (stable, beta, and dev)${NRM}"
echo -e " ${BLD}f) ${GRN}f${NRM}${BLD}irefox (stable and beta)${NRM}"
echo -e " ${BLD}fa) ${GRN}fa${NRM}${BLD}lkon${NRM}"
Expand Down
1 change: 1 addition & 0 deletions common/zsh-completion
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _pc() {
's:Seamonkey'
't:Thunderbird'
'to:TOrbrowser'
'b:Brave'
'p:Paths')

_describe 'options' options
Expand Down
4 changes: 4 additions & 0 deletions doc/pc.1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Profile-cleaner is a very simple shell script that will invoke sqlite3 to vacuum
.SH OPTIONS
.TP
.B
b
Clean brave's profile
.TP
.B
c
Clean chromium's profile
.TP
Expand Down

0 comments on commit dedd993

Please sign in to comment.