freebsd-ports/sysutils/msiklm/files/msiklm.conf.sample.in
Jason E. Hale ced1820199 New port: sysutils/msiklm
MSI Keyboard Light Manager (MSIKLM) is an easy-to-use command-line
tool that allows users to configure the backlight of SteelSeries
keyboards found in MSI gaming notebooks. It offers similar
functionality to the SteelSeries Engine for Windows.

WWW: https://github.com/Gibtnix/MSIKLM

Run tested on an MSI GE62VR 7RF Apache Pro
2018-03-14 16:07:03 +00:00

33 lines
874 B
Text

# $FreeBSD$
#
# This entry runs the 'msiklm' utility upon device attach to set
# a default keyboard backlight theme.
# You may adjust ARGS to suit your preference.
# Generally, the ARGS syntax is "<colors> <brightness> <mode>".
# Some examples are listed below, but consult 'msiklm help' and
# %%DOCSDIR%%/README.md
# for more detailed information.
# Confirm the ARGS work as expected by running (as superuser):
# msiklm <ARGS>
# before placing in the options substatement below.
# Examples:
# set ARGS "red,white,blue high wave";
# set ARGS "green,blue,red medium breathe";
# set ARGS "orange low";
# set ARGS "off";
options {
set ARGS "red,blue,green high normal";
};
notify 100 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x1770";
match "product" "0xff00";
action "%%PREFIX%%/bin/msiklm $ARGS";
};