diff options
| author | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-06-02 12:32:23 +0200 |
|---|---|---|
| committer | Daniel Jankowski <daniel.jankowski@rub.de> | 2024-06-02 12:32:23 +0200 |
| commit | d669610cae0051b60dfb9564a52582611968dfad (patch) | |
| tree | dfa1909c86f5612139d679f6f1747310a7aa71bf /plugin-dev-workspace.kdl | |
| parent | chore: update cargo deps (diff) | |
| download | sl0pstatus-d669610cae0051b60dfb9564a52582611968dfad.tar.gz sl0pstatus-d669610cae0051b60dfb9564a52582611968dfad.tar.xz sl0pstatus-d669610cae0051b60dfb9564a52582611968dfad.zip | |
feat: implement click action for command widget
Diffstat (limited to 'plugin-dev-workspace.kdl')
| -rw-r--r-- | plugin-dev-workspace.kdl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin-dev-workspace.kdl b/plugin-dev-workspace.kdl index 27333eb..1232935 100644 --- a/plugin-dev-workspace.kdl +++ b/plugin-dev-workspace.kdl @@ -40,9 +40,10 @@ layout { tab_sync_indicator "S" tab_fullscreen_indicator "FS" - command_0_command "echo \"平仮名, ひらがな 📦\"" - command_0_format "#[fg=colour80] {exit_code} {stdout} " - command_0_interval "1" + command_0_command "echo \"平仮名, ひらがな 📦\"" + command_0_clickaction "bash -c \"zellij --session zjstatus-dev pipe 'zjstatus::notify::hello world!' -n zjstatus\"" + command_0_format "#[fg=colour80] {exit_code} {stdout} " + command_0_interval "1" command_1_command "date" command_1_format "#[fg=blue,reverse,bg=default,us=red,blink,dim,strikethrough] {exit_code} {stdout} " |
