acer-predator-turbo-and-rgb-keyboard-linux-module
acer-predator-turbo-and-rgb-keyboard-linux-module copied to clipboard
facer_rgb.py Profile Path Argument
The title speaks for itself, the modifications:
...
parser.add_argument('-list',
action='store_true')
parser.add_argument('-profPath',
type=str,
dest='profPath')
args = parser.parse_args()
if args.profPath:
CONFIG_DIRECTORY = args.profPath
if args.list:
print("Saved profiles:")
for filepath in list(path.glob('*.*')): print(f"\t{filepath.stem}")
exit()
...