change description
This commit is contained in:
parent
a43068569d
commit
33fbf42908
2 changed files with 10 additions and 10 deletions
18
bin/rzr
18
bin/rzr
|
|
@ -181,17 +181,9 @@ if __name__ == "__main__":
|
||||||
# Print logo
|
# Print logo
|
||||||
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
|
# Parse arguments
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="Set color profiles of your Razer devices.",
|
description="A simple command line frontend for OpenRazer.",
|
||||||
formatter_class=RawTextHelpFormatter,
|
formatter_class=RawTextHelpFormatter,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
@ -219,6 +211,14 @@ if __name__ == "__main__":
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
exit(0)
|
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
|
# Check if directories exist
|
||||||
directories_available = True
|
directories_available = True
|
||||||
lightmap_directory = args.lightmap_directory
|
lightmap_directory = args.lightmap_directory
|
||||||
|
|
|
||||||
|
|
@ -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\]$ ";
|
nixConfig.bash-prompt = "\[\\e[1m\\e[32mrzr-develop\\e[0m\]$ ";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue