Firefox-UI-Fix/waterfox.sh
alstjr7375 14f0678946 Clean: Move lepton stylesheets into their own files
- `userChrome.css` -> `css/leptonChrome.css`
- `userContent.css` -> `css/leptonContent.css`

This allows users to easily update lepton while still keepping their
own custom styles

Co-authored-by: anzz1 <>
2022-04-19 12:14:09 +09:00

11 lines
380 B
Bash
Executable file

## 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 css/leptonChrome.css
replace_icon_path css/leptonContent.css