end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.16k stars 204 forks source link

[Feature] darkman integration #447

Closed moetayuko closed 1 month ago

moetayuko commented 2 months ago

What would you like to be added? Use darkman to automatically toggle light/dark color schemes based on geolocation (provided by geoclue).

How will it help

  1. eye candy
  2. browsers can retrieve day/night from dbus provided by darkman and adjust webpage contents accordingly (e.g. activates dark theme provided by github and google).
end-4 commented 2 months ago

Simply speaking, dark mode at night and light theme during the day?

I'm not really familiar with darkman. Is waiting for the right time and running hooked scripts all it does? If that's all then I wonder if it's a good idea to just have an AGS service do it

moetayuko commented 2 months ago

Simply speaking, dark mode at night and light theme during the day?

yes, and it also allows manual toggling

I'm not really familiar with darkman. Is waiting for the right time and running hooked scripts all it does? If that's all then I wonder if it's a good idea to just have an AGS service do it

yes, it simply runs user scripts on timer or manual trigger.

moetayuko commented 2 months ago

I noticed that there's already a toggle for dark mode in the color scheme dropdown. the script can be used for darkman