Skip to content

Custom Tree Borders

This script allows you to edit the border for workspaces and todo trees

Check out available border types here

Param
Default
Description
apiThe dooit api object
focus_borderThe border to use for the focused tree
dim_borderThe border to use for the unfocused tree

Example:

py
from dooit.ui.api import DooitAPI, subscribe
from dooit.ui.api.events import Startup
from dooit_extras.scripts import custom_tree_borders

@subscribe(Startup)
def setup(api: DooitAPI, _):
   custom_tree_borders(api, "panel", "panel")

Preview:

Custom Tree Borders