update readme

This commit is contained in:
Paul Wilde 2022-05-06 12:37:35 +01:00
parent bda9196f38
commit a276e57e94
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ The next two do not work with `rofi` unless you have `alias dmenu=rofi` set, but
- `passmenu_wrapper` a wrapper for passmenu. It basically just styles `passmenu` with no other features
- `command_wrapper` inspired by passmenu_wrapper, a basic tool to run other `dmenu` related tools with uniform styling
- for example: `dmenu_run`, `clipmenu`, `passmenu` etc.
### Example in `dmenu`:
![dmenu_tools](https://user-images.githubusercontent.com/31094984/167123173-ee8092a2-d5ab-47b4-b207-ced328072cc0.gif)

View file

@ -14,9 +14,9 @@ if isMainModule:
case arg:
of "-r", "--run":
run_command = args[idx + 1]
else:
echo "No run tag given. Please run again with '--run _cmd_'"
break
else:
echo "No command given, please run again with `[-r|--run] __cmd__`"
if run_command != "":
main()