214 days ago · Tech · hide · Fediverse post

I have several Linux distributions running, on my laptop I use Omarchy and on my desktop I have NixOS. I love the hyprland configuration of omarchy and how it works beautifully straight out of the box. One thing I use, however, is automatic theme switching. When there is plenty of light during the day I like to use a white theme. At night, I like to use a dark theme. Most Desktop Environments have some way to configure this switch to happen automatically. On Omarchy it turns out to be trivial to implement as well. First, we need a package that triggers a change based on time and location. The most simple package is darkman, a simple script that will trigger a change based on where you are. You can either hardcode the location in a configuration or use geoclue for it. I chose to do some hardcoding in the config as the times that I am not in my timezone with my laptop are very limited. The configuration lives in /home/user/.config/darkman/config.yaml: lat: 52.3 lng: 4.8 usegeoclue:…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town