Change gnome DE (and wallpaper) theme during the day.
Find a file
Haseeb Majid f14251d676 feat: Initial Release
initial release of the script.
2020-04-20 20:43:45 +01:00
debian feat: Initial Release 2020-04-20 20:43:45 +01:00
pkg feat: Initial Release 2020-04-20 20:43:45 +01:00
.gitignore feat: Initial Release 2020-04-20 20:43:45 +01:00
.gitlab-ci.yml feat: Initial Release 2020-04-20 20:43:45 +01:00
CHANGELOG.md feat: Initial Release 2020-04-20 20:43:45 +01:00
LICENSE feat: Initial Release 2020-04-20 20:43:45 +01:00
README.md feat: Initial Release 2020-04-20 20:43:45 +01:00

gnome-day-night-mode

Used to change theme at sunrise and sunset. When the sunsets changes to a dark mode when the sunrises changes the theme to a light mode.

Note: It uses solunar to get sunrise/sunset times. If solunar isn't found it will attempt to install it.

Demo

Prerequisites

  • Running a gnome DE (only tested on gnome 3)
  • git
  • make

Usage

wget https://gitlab.com/hmajid2301/gnome-day-night-mode/-/jobs/502692706/artifacts/download
unzip artifacts.zip
sudo dpkg -i gnome-day-night-mode*.deb

Build from Source

You can also build the debian packages from source.

sudo apt install build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian \
                pbuilder
git clone https://gitlab.com/hmajid2301/gnome-day-night-mode.git
debuild -i -us -uc -b
sudo dpkg -i gnome-day-night-mode*.deb

Future Features

  • Rewrite in Python
  • Add a GUI
  • Allow multiple profiles (mid-day, evening etc)

Appendix