39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
// Daemon config
|
|
delay = 10000; // in ms (1 second = 1000 ms) - do not set too low or the systat calls will return junk
|
|
tty = "/dev/ttyACM0"; // tty device to use (most common for arduino based boards on *nix)
|
|
logfile = ""; // logfile - leave undefined for console output (syslog is always used if possible for hard errors)
|
|
line_length = 16; // unused but will be needed
|
|
line_count = 2; // unused but will be needed
|
|
|
|
// readings
|
|
cpu_temp_file = "/sys/class/hwmon/hwmon1/temp11_input"; // doesnt have to be cpu, any temperature reading in C will do
|
|
cpu_fanspeed_file = "/sys/class/hwmon/hwmon1/temp11_input";
|
|
|
|
// drives (free space stats)
|
|
// dev note: for a 16 line display, 3 drives will barely fit depending on the GB available so choose wisely
|
|
drive_free_space = [ "/", "/mnt/local", "/mnt/store" ] // list of mountpoints - NOT devices!
|
|
|
|
// IR command config
|
|
// TODO: lookup xf86 and/or dbus commands for multimedia control
|
|
ircmd_P = "echo Power Pressed"; // P power
|
|
ircmd_M = "echo Mute Pressed"; // mute
|
|
ircmd_m = "echo Mode Pressed"; // mode
|
|
ircmd_p = "echo Back Pressed"; // back
|
|
ircmd_f = "echo Forward Pressed"; // forward
|
|
ircmd_e = "echo EQ Pressed"; // eq
|
|
ircmd_minus = "echo Volume Down Pressed"; // vol down
|
|
ircmd_plus = "echo Volume Down Pressed"; // vol up
|
|
ircmd_r = "echo Return Pressed"; // return
|
|
ircmd_u = "echo Usb Scan Pressed"; // usb scan
|
|
ircmd_0 = "echo 1 Pressed"; // number 1
|
|
ircmd_2 = "echo 2 Pressed"; // number 2
|
|
ircmd_3 = "echo 3 Pressed"; // number 3
|
|
ircmd_4 = "echo 4 Pressed"; // number 4
|
|
ircmd_5 = "echo 5 Pressed"; // number 5
|
|
ircmd_6 = "echo 6 Pressed"; // number 6
|
|
ircmd_7 = "echo 7 Pressed"; // number 7
|
|
ircmd_8 = "echo 8 Pressed"; // number 8
|
|
ircmd_9 = "echo 9 Pressed"; // number 9
|
|
ircmd_R = "echo Repeat Pressed"; // repeat
|
|
ircmd_Z = "echo Unknown Pressed"; // other button pressed
|