This is a proof of concept for an indicator to switch between Ambiance and Suru Dark theme.
This is based from the amazing work of Brian Douglass for Indicator Weather Thank you Brian!
It modifies the theme in the config file "/home/phablet/.config/lomiri-ui-toolkit/theme.ini"
Enabling Dark Mode from the indicator will switch to the theme "Suru Dark". Disabling it will revert back to "Ambiance". There is also an option to switch the theme automatically based on the time.
- The theme change won't take effect on currently open apps until they are restarted.
- Time accuracy for automatically switching to a theme will be based on the set time interval for checking the time.
- Suru Dark theme support varies across apps. There are apps that just works while some will only have partial support and some won't even respect it.
You can use clickable to compile.