AvengeMedia / AvengeMedia/DankMaterialShell

Gamma not work for night mode in NixOS

Open
#893 5 comments 2 reactions 0 assignees View on GitHub
support
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

## Compositor

- [ ] niri
- [X] Hyprland
- [ ] dwl (MangoWC)
- [ ] sway
- [ ] other

## Distribution
NixOS unstable with home-manager as module.

## dms version
Last of today : DMS 0.6.2+date=2025-12-03_ 0ea602

## Description
I tried to use the night mode. I configured it in system settings with 4500K Night and 6500K day. Set automatic control with location and set my latitude and longitude.

I got an error in logs :
```bash
Dec 03 15:02:13 nix-macbook dms[20863]: INFO go: Creating gamma controls
Dec 03 15:02:13 nix-macbook dms[20863]: INFO go: setupOutputControls: creating gamma controls for 1 outputs
Dec 03 15:02:13 nix-macbook dms[20863]: ERROR go: Gamma control failed for output 5 (attempt 1)
Dec 03 15:02:17 nix-macbook dms[20863]: INFO go: AppPicker: Received browser.open request with params: map[requestType:u>
Dec 03 15:02:17 nix-macbook dms[20863]: INFO go: AppPicker: Broadcasting event: {Target:https://github.com/nix-community>
Dec 03 15:02:17 nix-macbook dms[20863]: INFO go: AppPicker: Request handled successfully
Dec 03 15:02:18 nix-macbook dms[20863]: ERROR go: Gamma control failed for output 5 (attempt 5)
```

## Solutions Tried
Tried to update to last DMS version. I run it as systemd user service. I tried to apply manually with hyprsunset without issue.... I just have no idea what is my issue and bad configuration. Have you any idea?

Thanks for any reommandation :)

By the way, amazing project 👍🏻

EDIT : just for info I'm on MacBook Pro M1 aarch64-Linux.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.