在 daemon 优化了异常处理行为; 为编辑器等也设置了可定义的环境变量; 更新 README;
This commit is contained in:
@@ -2,13 +2,16 @@ import os
|
||||
|
||||
code_snippet_dir = os.getenv("CODE_SNIPPET_DIR")
|
||||
code_snippet_port = os.getenv("CODE_SNIPPET_PORT")
|
||||
code_snippet_rofi = os.getenv("CODE_SNIPPET_ROFI")
|
||||
code_snippet_rofi = os.getenv("CODE_SNIPPET_ROFI", "rofi")
|
||||
code_snippet_editor = os.getenv("CODE_SNIPPET_EDITOR","nvim")
|
||||
|
||||
action_list = "LIST"
|
||||
action_add = "ADD"
|
||||
action_edit = "EDIT"
|
||||
action_delete = "DELETE"
|
||||
|
||||
editor_class = "code_snippet_editor"
|
||||
|
||||
template_add = """
|
||||
## Snippet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user