Open aspauldingcode opened 10 months ago
What a hot mess.
macOS (NIXY) is successfully changing configuration of macOS system darkmode to light if the theme variant is lightmode from nix-colors.
Using nix specialization, I could create a toggle-theme to switch between a specified darkmode and lightmode colorscheme with nix colors (eg. gruvbox-soft-dark and gruvbox-soft-light).
To get this working on NixOS might be trivial from here.
Darkmode/Lightmode functionality
Problem: Detecting system-wide theme as dark/light is not going so well on NixOS. In addtion, my themes are defined through nix-colors, so switching the color-scheme is essential to work universally across all my applications, including:
Tasks: