diff --git a/README.md b/README.md index 4b2a02d..b7614a2 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,8 @@ Omit a provider to hide it. Set the cache duration to `0` to read the source fil Optional visual session indicator in the status bar. Shows all sessions as symbols with the current one highlighted. Sessions where agents need attention (`needs-input` or `done` state) are highlighted in a different color. +Includes code from [tmux-session-dots](https://github.com/jtmcginty/tmux-session-dots) by [Jack McGinty](https://github.com/jtmcginty), used under the [MIT License](licenses/tmux-session-dots.txt). + Example with 4 sessions, second is current, fourth needs attention: `○●○●` With emoji symbols: diff --git a/install.sh b/install.sh index d9ba9e8..c08e8dd 100755 --- a/install.sh +++ b/install.sh @@ -142,11 +142,12 @@ if [ "$INSTALL_OPENCODE" = true ] && [ "$UNINSTALL_OPENCODE" = false ]; then fi fi -mkdir -p "$TARGET_DIR/scripts" "$TARGET_DIR/hooks" "$TARGET_DIR/plugins" +mkdir -p "$TARGET_DIR/scripts" "$TARGET_DIR/hooks" "$TARGET_DIR/plugins" "$TARGET_DIR/licenses" cp "$SCRIPT_DIR/agent-indicator.tmux" "$TARGET_DIR/" cp "$SCRIPT_DIR/README.md" "$TARGET_DIR/" cp "$SCRIPT_DIR/LICENSE" "$TARGET_DIR/" +cp "$SCRIPT_DIR/licenses/"*.txt "$TARGET_DIR/licenses/" cp "$SCRIPT_DIR/scripts/"*.sh "$TARGET_DIR/scripts/" cp "$SCRIPT_DIR/scripts/"*.py "$TARGET_DIR/scripts/" cp "$SCRIPT_DIR/hooks/"*.json "$TARGET_DIR/hooks/" diff --git a/licenses/tmux-session-dots.txt b/licenses/tmux-session-dots.txt new file mode 100644 index 0000000..ae2d4c7 --- /dev/null +++ b/licenses/tmux-session-dots.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Jack McGinty + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.