From cbcd022f302adc39ecb89fba6faf72e68184c0e0 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 2 Aug 2024 19:10:39 -0400 Subject: halfway working idm server and laptop hostclasses --- files/etc/devd/thinkpad-brightness.conf.laptop | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 files/etc/devd/thinkpad-brightness.conf.laptop (limited to 'files/etc/devd/thinkpad-brightness.conf.laptop') diff --git a/files/etc/devd/thinkpad-brightness.conf.laptop b/files/etc/devd/thinkpad-brightness.conf.laptop new file mode 100644 index 0000000..24bd750 --- /dev/null +++ b/files/etc/devd/thinkpad-brightness.conf.laptop @@ -0,0 +1,13 @@ +notify 20 { +  match "system" "ACPI"; +  match "subsystem" "IBM"; +  match "notify" "0x10"; +  action "/usr/local/libexec/thinkpad-brightness up"; +}; + +notify 20 { +  match "system" "ACPI"; +  match "subsystem" "IBM"; +  match "notify" "0x11"; +  action "/usr/local/libexec/thinkpad-brightness down"; +}; -- cgit v1.2.3