Libreoffice Dark theme included since Debian 12
This commit is contained in:
parent
6ee3220edd
commit
455c628c59
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
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 \
|
||||
/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 "/usr/share/libreoffice/share/config/images_colibre_dark.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</value></prop></item>
|
||||
</oor:items>
|
||||
|
||||
EOF
|
||||
|
@ -0,0 +1,5 @@
|
||||
<?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</value></prop></item>
|
||||
</oor:items>
|
||||
|
Loading…
x
Reference in New Issue
Block a user