Add Libreoffice Dark theme
This commit is contained in:
parent
111dd0652e
commit
89ec1683f7
22
config/hooks/live/libreoffice-dark.hook.chroot
Normal file
22
config/hooks/live/libreoffice-dark.hook.chroot
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
wget https://github.com/ZorinArch/LibreOffice-Colibre-Dark/raw/main/images_colibre_dark_svg.zip -O /usr/share/libreoffice/share/config/images_colibre_dark_svg.zip
|
||||||
|
|
||||||
|
for dir in \
|
||||||
|
/usr/lib64/libreoffice/share/config \
|
||||||
|
/usr/lib/libreoffice/share/config \
|
||||||
|
/usr/local/lib/libreoffice/share/config \
|
||||||
|
/opt/libreoffice*/share/config; do
|
||||||
|
[ -d "$dir" ] || continue
|
||||||
|
sudo ln -sf -v "/usr/share/libreoffice/share/config/images_colibre_dark_svg.zip" "$dir"
|
||||||
|
done
|
||||||
|
|
||||||
|
mkdir -p /etc/skel/.config/libreoffice/4/user
|
||||||
|
cat > /etc/skel/.config/libreoffice/4/user/registrymodifications.xcu <<"EOF"
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="SymbolStyle" oor:op="fuse"><value>colibre_dark_svg</value></prop></item>
|
||||||
|
</oor:items>
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user