22 lines
495 B
C
22 lines
495 B
C
|
|
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// Maximum brightness
|
|
const char max_file[] = "/sys/class/backlight/amdgpu_bl0/max_brightness";
|
|
// Current brightness
|
|
const char target_file[] = "/sys/class/backlight/amdgpu_bl0/brightness";
|
|
|
|
// Help
|
|
const char help[] = "backlight command [N]\n\n\
|
|
command in {set, dec, inc, get, -h}\n\
|
|
N in [0 ... 100]\n\n\
|
|
get\t\tGet backlight\n\
|
|
set N\t\tSet backlight in N%\n\
|
|
dec N\t\tDec backlight at N%\n\
|
|
inc N\t\tInc backlight at N%\n\
|
|
-h\t\tShow help\n\
|
|
";
|
|
|
|
#endif
|