39 lines
1.5 KiB
Plaintext
39 lines
1.5 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 = ""; // mute
|
|
ircmd_m = ""; // mode
|
|
ircmd_p = ""; // back
|
|
ircmd_f = ""; // forward
|
|
ircmd_e = ""; // eq
|
|
ircmd_minus = ""; // vol down
|
|
ircmd_plus = ""; // vol up
|
|
ircmd_r = ""; // return
|
|
ircmd_u = ""; // usb scan
|
|
ircmd_0 = ""; // number 1
|
|
ircmd_2 = ""; // number 2
|
|
ircmd_3 = ""; // number 3
|
|
ircmd_4 = ""; // number 4
|
|
ircmd_5 = ""; // number 5
|
|
ircmd_6 = ""; // number 6
|
|
ircmd_7 = ""; // number 7
|
|
ircmd_8 = ""; // number 8
|
|
ircmd_9 = ""; // number 9
|
|
ircmd_R = ""; // repeat
|
|
ircmd_Z = "echo Unknown Pressed"; // other button pressed
|