acer-predator-turbo-and-rgb-keyboard-linux-module icon indicating copy to clipboard operation
acer-predator-turbo-and-rgb-keyboard-linux-module copied to clipboard

facer_rgb.py Profile Path Argument

Open WolicraftSF opened this issue 10 months ago • 0 comments

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()
...

WolicraftSF avatar Jan 23 '25 17:01 WolicraftSF