From 33fbf42908561c8a4224c95857a7589c9bd0a2a8 Mon Sep 17 00:00:00 2001 From: Denis Lehmann Date: Thu, 22 Apr 2021 08:10:18 +0200 Subject: [PATCH] change description --- bin/rzr | 18 +++++++++--------- flake.nix | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bin/rzr b/bin/rzr index e6561c3..8db4bef 100644 --- a/bin/rzr +++ b/bin/rzr @@ -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 diff --git a/flake.nix b/flake.nix index 3542d84..b820025 100644 --- a/flake.nix +++ b/flake.nix @@ -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\]$ ";