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

12 lines
382 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
2022-05-11 21:19:02 +02:00
sed -i "s/\.\.\/icons\//chrome:\/\/browser\/skin\/lepton\//g" "${file}"
2022-03-16 20:24:46 +01:00
}
2022-05-11 21:19:02 +02:00
replace_icon_path css/leptonChrome.css
replace_icon_path css/leptonContent.css