Skip to content

Update dusky_sliders.py#179

Open
ADIOR-enigma wants to merge 1 commit intodusklinux:mainfrom
ADIOR-enigma:ddcutil
Open

Update dusky_sliders.py#179
ADIOR-enigma wants to merge 1 commit intodusklinux:mainfrom
ADIOR-enigma:ddcutil

Conversation

@ADIOR-enigma
Copy link
Copy Markdown
Contributor

Implementation

  • Adds external monitor brightness control via ddcutil (DDC/CI)
  • Automatic detection of DDC-capable displays
  • New slider integrated into existing GTK4 UI (Only enabled when ddcutil is available and displays are detected)
  • Uses LatestValueExecutor for non-blocking control
  • Grace period handling to prevent UI desync

Details

  • Uses ddcutil getvcp/setvcp (VCP code 0x10)
  • Cached display detection to avoid repeated slow scans
  • Separate refresh grace timing due to slower I2C operations
  • Follows existing architecture

Signed-off-by: adior <anubhabd116@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant