backlight/config.h
Владимир 7d8ba1a72a modified: Makefile
modified:   config.h
	modified:   main.c
2024-11-09 12:52:59 +05:00

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