From 89773438b6583dd1dcaf33ad6d581eee697246f2 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 9 Feb 2026 19:00:45 +0100 Subject: Add brightness control using ddcutil to hyprland The ddcutil is really slow by design and needing to wait the recommended 40-200ms after each request to get the response according to the ddc protocol specifications. For now this is a working draft, might switch to ddccontrol which is much faster but limited to communicate over /dev/ which can't be figured automatically or correlated with hyprctl monitors command --- roles/ddcutil/meta/argument_specs.yml | 6 ++++++ roles/ddcutil/meta/main.yml | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 roles/ddcutil/meta/argument_specs.yml create mode 100644 roles/ddcutil/meta/main.yml (limited to 'roles/ddcutil/meta') diff --git a/roles/ddcutil/meta/argument_specs.yml b/roles/ddcutil/meta/argument_specs.yml new file mode 100644 index 00000000..09847b93 --- /dev/null +++ b/roles/ddcutil/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install ddcutil on Linux distribution" + description: "Install ddcutil on Linux distribution" + options: {} diff --git a/roles/ddcutil/meta/main.yml b/roles/ddcutil/meta/main.yml new file mode 100644 index 00000000..025d3e11 --- /dev/null +++ b/roles/ddcutil/meta/main.yml @@ -0,0 +1,17 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install ddcutil" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" -- cgit v1.2.3