Sunshine
is a simple CLI tool to bless programmers with sunshine (light theme).
Sunshine automates theme switching based on day of the time set by the user.
- ✨ Features
- 🚀 Installation
- 🛠️ Usage
- 🗑️ Uninstall
- 🐛 Bugs or Requests
- 🤝 Contributing
- 📄 License
- 🙏 Acknowledgments
- Switching Themes: Automating the switching of themes based on the time set by the user.
- Configuration: Users can configure the themes for Light & Dark Mode along with desired time.
- Notifications: Sunshine will notify you when the themes are changed.
- Clone this repo using
git clone http://github.com/jollySleeper/sunshine.git ~/sunshine && cd ~/sunshine
- Run the installation Script
./install.sh
- First Make a Configuration File in
~/.config/sunshine/
namedsunshine.conf
# Configure this time based on your liking
LIGHTS_ON="06:00" # Light Mode Start Time
LIGHTS_OFF="18:15" # Dark Mode Start Time
-
Next make
light.sh
&dark.sh
in~/.config/sunshine/
folder. These script files will contain all the commands you want to run on time trigger. -
Example for
light.sh
# Example Conf for GTK
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
- Example for
dark.sh
# Example Conf for GTK
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
-
After Setting up everything just run
sunshine init
on your terminal. Checksunshine --help
for more info. -
Checkout My Dotfiles for more help on config.
Sorry to hear that this project didn't meet your expectations. Please help us with your feedback.
For uninstalling run ./uninstall.sh
from terminal and delete the sunshine foler using rm -r sunshine
command.
If you encounter any problem(s) feel free to open an issue.
If you feel the project is missing a feature, please raise an issue with FeatureRequest
as heading.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- This Project takes inspiration from Yin-Yang and many other similar projects.