Skip to content

Small utility to schedule between light and dark theme in gnome

License

Notifications You must be signed in to change notification settings

konkerama/gnome-theme-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gnome-theme-switcher

Small utility to schedule theme change between light and dark theme. It checks the local time and based on if the sun is out or down it will change the theme to the preselected light or dark respectively.

Setup

Install from source

Prerequisites

  • Gnome Environment (has been tested on ubuntu 22)
  • Python installed and running (tested on python3.11)
  • Install pyinstaller

Config

Open config.ini and configure it with your city/country details and your preferred light and dark theme. If you want to test the theme switch without waiting for the next sunrise/sunset you can set the force_theme to light/dark based on your preference.

Install

clone repository locally and run:

make 

copy your local config to the desired directory by running:

make copy_config

Cleanup

To cleanup do:

make cleanup

Prebuilt Binaries

Todo

Logs

The utitly places its logs in the /var/log/gnome-theme-switcher.log file

About

Small utility to schedule between light and dark theme in gnome

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published