{% import xmanager %} {% import os %} {% init path = os.path.abspath(xconfig.DATA_DIR) %} {% init file_plugins = xmanager.find_plugins("dir") %}
选项
{% set clipboard_data = xconfig.get("FS_CLIP") %} {% if clipboard_data != None and len(clipboard_data) > 0 %} {% set get_short_text = xutils.textutil.get_short_text %}
剪切板 清空 粘贴所有
{% for clip_path in clipboard_data %} {% set clip_base_name = os.path.basename(clip_path.rstrip("/")) %}
  • 粘贴 {{get_short_text(clip_base_name, 8)}}
  • {% end %}
    {% end %}