summaryrefslogtreecommitdiffstats
path: root/core/modules/slx-brightness/module.conf
diff options
context:
space:
mode:
authorSimon Rettberg2024-03-11 14:32:38 +0100
committerSimon Rettberg2024-03-11 14:32:38 +0100
commitadd0b32cd189f37495cc077408b748f486b7d70c (patch)
tree2325fe682d060605060517b7d6867da0d959ca0d /core/modules/slx-brightness/module.conf
parentkernel: Set default hostname (diff)
downloadmltk-add0b32cd189f37495cc077408b748f486b7d70c.tar.gz
mltk-add0b32cd189f37495cc077408b748f486b7d70c.tar.xz
mltk-add0b32cd189f37495cc077408b748f486b7d70c.zip
[slx-brightness] Add new module to control backlit displays
We do this raw by reading /dev/input/eventX to make sure no running program (e.g. VMware Player) can grab the keyboard and prevent any other running daemon (e.g. xfce-power-manager) from seeing the keystrokes. Another advantage is that this will work everywhere (tty, lightdm, VM, desktop session) since the daemon starts on system bootup.
Diffstat (limited to 'core/modules/slx-brightness/module.conf')
-rw-r--r--core/modules/slx-brightness/module.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/slx-brightness/module.conf b/core/modules/slx-brightness/module.conf
new file mode 100644
index 00000000..f4705015
--- /dev/null
+++ b/core/modules/slx-brightness/module.conf
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+REQUIRED_BINARIES="
+ slx-brightness
+"