configs/arch-config/.mozilla/firefox/default-release/chrome/waterfox.sh

12 lines
368 B
Bash
Raw Normal View History

2022-03-16 20:24:46 +01:00
## Please refer to the following commit:
# https://github.com/WaterfoxCo/Waterfox/commit/f92e95c09ecd98f987bf54e1e6a1cf969b683277
## Replace Path
# `./icons/` to `chrome://browser/skin/lepton/`
replace_icon_path() {
file=$1
sed -i "s/\.\/icons\//chrome:\/\/browser\/skin\/lepton\//g" "${file}"
}
replace_icon_path userChrome.css
replace_icon_path userContent.css