-
-
Save samueldr/efb29481c2e09f9b3ee52ccc4e778525 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
programs.light.enable = true; | |
services.actkbd = { | |
enable = true; | |
bindings = [ | |
# Find the keycodes using: | |
# sudo actkbd -v9 -n -s -d /dev/input/event__ | |
# Where `/dev/input/event__` is one of the descriptors | |
{ keys = [ 114 ]; events = [ "key" ]; command = "/run/wrappers/bin/light -A 5"; } | |
{ keys = [ 115 ]; events = [ "key" ]; command = "/run/wrappers/bin/light -U 5"; } | |
]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment