change description

This commit is contained in:
Denis Lehmann 2021-04-22 08:10:18 +02:00
parent a43068569d
commit 33fbf42908
2 changed files with 10 additions and 10 deletions

18
bin/rzr
View file

@ -181,17 +181,9 @@ if __name__ == "__main__":
# Print logo
print_logo()
# Create device manager
try:
device_manager = DeviceManager()
except Exception as e:
error("failed to load device manager: {}".format(e))
print("Is the openrazer-daemon running?")
exit(1)
# Parse arguments
parser = argparse.ArgumentParser(
description="Set color profiles of your Razer devices.",
description="A simple command line frontend for OpenRazer.",
formatter_class=RawTextHelpFormatter,
)
parser.add_argument(
@ -219,6 +211,14 @@ if __name__ == "__main__":
parser.print_help()
exit(0)
# Create device manager
try:
device_manager = DeviceManager()
except Exception as e:
error("failed to load device manager: {}".format(e))
print("Is the openrazer-daemon running?")
exit(1)
# Check if directories exist
directories_available = True
lightmap_directory = args.lightmap_directory

View file

@ -1,5 +1,5 @@
{
description = "Apply lightmaps to Razer devices";
description = "A simple command line frontend for OpenRazer.";
nixConfig.bash-prompt = "\[\\e[1m\\e[32mrzr-develop\\e[0m\]$ ";