From 09d799f3da20b55c5e0d730153d9dee977cd443e Mon Sep 17 00:00:00 2001 From: graysky Date: Fri, 9 Mar 2018 16:33:35 -0500 Subject: [PATCH] added falkon fixes #24 --- LICENSE | 2 +- Makefile | 2 +- README.md | 1 + common/profile-cleaner.in | 7 +++++++ common/zsh-completion | 1 + doc/pc.1 | 6 +++++- 6 files changed, 16 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index a75fd96..a765a9e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2013-2016 graysky +Copyright (c) 2013-2018 graysky Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/Makefile b/Makefile index 6879fa6..8382fd4 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = 2.36 +VERSION = 2.37 PN = profile-cleaner PREFIX ?= /usr diff --git a/README.md b/README.md index 6674ffc..6f998f9 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Use profile-cleaner to reduce the size of browser profiles by organizing their s * Aurora * Chromium (stable, beta, and dev) * Conkeror +* Falkon * Firefox (stable, beta, and aurora) * Google-chrome (stable, beta, and dev) * Heftig's version of Aurora (https://bbs.archlinux.org/viewtopic.php?id=117157) diff --git a/common/profile-cleaner.in b/common/profile-cleaner.in index f037836..994cce2 100644 --- a/common/profile-cleaner.in +++ b/common/profile-cleaner.in @@ -213,6 +213,12 @@ case "$1" in do_xulbased exit 0 ;; + FA|fa|Fa) + name="falkon"; export name + prepath=$HOME/.config/$name/profiles + do_dbbased + exit 0 + ;; GC|gc|GCB|gcb|GCD|gcd|GCU|gcu) for name in google-chrome google-chrome-beta google-chrome-unstable; do export name @@ -317,6 +323,7 @@ case "$1" in echo 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}" echo -e " ${BLD}gc) ${GRN}g${NRM}${BLD}oogle-${GRN}c${NRM}${BLD}hrome (stable, beta, and dev)${NRM}" echo -e " ${BLD}o) ${GRN}o${NRM}${BLD}pera (stable, next, and developer)${NRM}" echo diff --git a/common/zsh-completion b/common/zsh-completion index 917e4d4..9debfa0 100644 --- a/common/zsh-completion +++ b/common/zsh-completion @@ -4,6 +4,7 @@ _pc() { local -a options options=('c:Chromium (stable, beta, and dev)' + 'fa:Falkon' 'f:Firefox (stable and beta)' 'gc:Google-Chrome (stable, beta, and dev)' 'o:Opera (stable, next, and developer)' diff --git a/doc/pc.1 b/doc/pc.1 index e26edb6..e8731c5 100644 --- a/doc/pc.1 +++ b/doc/pc.1 @@ -1,5 +1,5 @@ .\" Text automatically generated by txt2man -.TH profile-cleaner 1 "25 July 2015" "" "" +.TH profile-cleaner 1 "09 March 2018" "" "" .SH NAME \fBprofile-cleaner \fP- Reduce the size of browser and some email program's profiles by organizing their sqlite databases using sqlite3's vacuum and reindex functions. The term "browser" is used loosely since profile-cleaner happily works on some email clients and newsreaders too. \fB @@ -29,6 +29,10 @@ f Clean firefox's \fBprofile\fP(s)* .TP .B +fa +Clean falkon's profile +.TP +.B gc Clean google-chrome's profile .TP