Fix Libreoffice Dark theme
This commit is contained in:
parent
1ee0aeea16
commit
f42573e0ab
@ -1,6 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/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
|
cd /tmp
|
||||||
|
|
||||||
|
svn checkout https://github.com/rizmut/libreoffice-style-colibre/trunk/colibre_dark
|
||||||
|
cd colibre_dark
|
||||||
|
|
||||||
|
# Colibre Dark
|
||||||
|
zip -r -D images_colibre_dark.zip *
|
||||||
|
mv "images_colibre_dark.zip" /usr/share/libreoffice/share/config
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
rm -rf colibre_dark
|
||||||
|
|
||||||
|
|
||||||
for dir in \
|
for dir in \
|
||||||
/usr/lib64/libreoffice/share/config \
|
/usr/lib64/libreoffice/share/config \
|
||||||
@ -8,14 +19,14 @@ for dir in \
|
|||||||
/usr/local/lib/libreoffice/share/config \
|
/usr/local/lib/libreoffice/share/config \
|
||||||
/opt/libreoffice*/share/config; do
|
/opt/libreoffice*/share/config; do
|
||||||
[ -d "$dir" ] || continue
|
[ -d "$dir" ] || continue
|
||||||
sudo ln -sf -v "/usr/share/libreoffice/share/config/images_colibre_dark_svg.zip" "$dir"
|
sudo ln -sf "/usr/share/libreoffice/share/config/images_colibre_dark.zip" "$dir"
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p /etc/skel/.config/libreoffice/4/user
|
mkdir -p /etc/skel/.config/libreoffice/4/user
|
||||||
cat > /etc/skel/.config/libreoffice/4/user/registrymodifications.xcu <<"EOF"
|
cat > /etc/skel/.config/libreoffice/4/user/registrymodifications.xcu <<"EOF"
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<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>
|
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="SymbolStyle" oor:op="fuse"><value>colibre_dark</value></prop></item>
|
||||||
</oor:items>
|
</oor:items>
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
@ -9,3 +9,4 @@ libreoffice-gnome
|
|||||||
libreoffice-l10n-fr
|
libreoffice-l10n-fr
|
||||||
hunspell-fr
|
hunspell-fr
|
||||||
python3-uno
|
python3-uno
|
||||||
|
subversion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user