Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: LibreOffice Icon style #23

Open
ajdunevent opened this issue May 21, 2019 · 1 comment
Open

Suggestion: LibreOffice Icon style #23

ajdunevent opened this issue May 21, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ajdunevent
Copy link

ajdunevent commented May 21, 2019

Some of the icon styles for LibreOffice offer a dark and a light mode and look weird if not used with a correspondingly light or dark theme (examples: "Sifr" and "Sifr (dark)").

The following line:
<item oor:path="/org.openoffice.Office.Common/Misc"><prop oor:name="SymbolStyle" oor:op="fuse"><value>sifr_dark</value></prop></item>

in the following file:
~/.config/libreoffice/4/user/registrymodifications.xcu

changes the theme on my machine.

Annoying note: Any changes to the file that are made while LibreOffice is open will be overwritten.

@ajdunevent
Copy link
Author

In case anyone is looking for an immediate solution, I use AutomaThemely's Scripts option under Extras to run at sunrise a script with the following:

#!/usr/bin/bash

while [ -n "`pgrep soffice`" ]
do
  sleep 5
done

sed -i 's/sifr/sifr_dark/g' ~/.config/libreoffice/4/user/registrymodifications.xcu

and at sunset:

#!/usr/bin/bash

while [ -n "`pgrep soffice`" ]
do
  sleep 5
done

sed -i 's/sifr_dark/sifr/g' ~/.config/libreoffice/4/user/registrymodifications.xcu

Note, I'm not great at this stuff so there are probably better ways to achieve this. Feedback welcome, of course!

@C2N14 C2N14 added the enhancement New feature or request label Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants