Skip to content

marguerite/linux-darkmode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

linux-darkmode


Theory:

  1. get your public IP address
  2. use GeoLite2-City to get your longitude and latitude
  3. calculate your sun rise/set time with formula here: https://en.wikipedia.org/wiki/Sunrise_equation
  4. for plasma5, "lookandfeeltool -a org.kde.breeze.desktop" at sun rise and "lookandfeeltool -a org.kde.breezedark.desktop" at sun set.

That's it! All will be implemented in golang like my linux-bing-wallpaper.

Currently I only know how to switch theme on plasma5. Any help with other desktop environment are welcome!(please mention me in issues).

About

automatically switch your desktop environment theme from light to dark and reverse when sun rise/set

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages