We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efbdc46 commit cfafabdCopy full SHA for cfafabd
tests/fixtures/pluginsystem/plugins/tmuxp_test_plugin_bwb/tmuxp_test_plugin_bwb/plugin.py
@@ -1,3 +1,4 @@
1
+"""Tmuxp example plugin for before_worksplace_builder."""
2
import typing as t
3
4
from tmuxp.plugin import TmuxpPlugin
@@ -7,8 +8,11 @@
7
8
9
10
class PluginBeforeWorkspaceBuilder(TmuxpPlugin):
11
+ """Tmuxp plugin that runs before worksplace builder starts."""
12
+
13
def __init__(self) -> None:
14
self.message: str = "[+] This is the Tmuxp Test Plugin"
15
16
def before_workspace_builder(self, session: "Session") -> None:
17
+ """Run hook before workspace builder begins."""
18
session.rename_session("plugin_test_bwb")
0 commit comments