aboutsummaryrefslogtreecommitdiff
path: root/files/etc/devd
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/devd')
-rw-r--r--files/etc/devd/lid-close.conf.laptop6
l---------files/etc/devd/lid-close.conf.roadwarrior_laptop1
-rw-r--r--files/etc/devd/thinkpad-brightness.conf.laptop13
l---------files/etc/devd/thinkpad-brightness.conf.roadwarrior_laptop1
4 files changed, 21 insertions, 0 deletions
diff --git a/files/etc/devd/lid-close.conf.laptop b/files/etc/devd/lid-close.conf.laptop
new file mode 100644
index 0000000..751c546
--- /dev/null
+++ b/files/etc/devd/lid-close.conf.laptop
@@ -0,0 +1,6 @@
+notify 20 {
+ match "system" "ACPI";
+ match "subsystem" "Lid";
+ match "notify" "0x00";
+ action "/usr/local/libexec/lid-close";
+};
diff --git a/files/etc/devd/lid-close.conf.roadwarrior_laptop b/files/etc/devd/lid-close.conf.roadwarrior_laptop
new file mode 120000
index 0000000..b6dd50e
--- /dev/null
+++ b/files/etc/devd/lid-close.conf.roadwarrior_laptop
@@ -0,0 +1 @@
+lid-close.conf.laptop \ No newline at end of file
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";
+};
diff --git a/files/etc/devd/thinkpad-brightness.conf.roadwarrior_laptop b/files/etc/devd/thinkpad-brightness.conf.roadwarrior_laptop
new file mode 120000
index 0000000..77502f3
--- /dev/null
+++ b/files/etc/devd/thinkpad-brightness.conf.roadwarrior_laptop
@@ -0,0 +1 @@
+thinkpad-brightness.conf.laptop \ No newline at end of file