summaryrefslogtreecommitdiffstats
path: root/roles/ddcutil/meta
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-02-09 19:00:45 +0100
committerAhmed Abdelhalim <[email protected]>2026-02-09 19:03:37 +0100
commit89773438b6583dd1dcaf33ad6d581eee697246f2 (patch)
tree7cfdc647507af97bcb29f6907c87eaadba476882 /roles/ddcutil/meta
parentdc8f42e5666e9d498bd19b323f5e1c3b9440ba3f (diff)
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/<id> which can't be figured automatically or correlated with hyprctl monitors command
Diffstat (limited to 'roles/ddcutil/meta')
-rw-r--r--roles/ddcutil/meta/argument_specs.yml6
-rw-r--r--roles/ddcutil/meta/main.yml17
2 files changed, 23 insertions, 0 deletions
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"