batipanel 0.4.27 → 0.4.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/VERSION +1 -1
  2. package/install.sh +46 -23
  3. package/package.json +1 -1
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.27
1
+ 0.4.28
package/install.sh CHANGED
@@ -642,22 +642,30 @@ else
642
642
  fi
643
643
  fi
644
644
 
645
- # === 9b. install Nerd Font for powerline glyphs (macOS) ===
646
- if [ "$OS" = "Darwin" ] && command -v brew &>/dev/null; then
647
- if ! brew list --cask font-meslo-lg-nerd-font &>/dev/null 2>&1; then
648
- echo ""
649
- echo "Installing Nerd Font (MesloLGS NF) for powerline glyphs..."
650
- if brew install --cask font-meslo-lg-nerd-font 2>/dev/null; then
651
- echo " Nerd Font installed."
652
- echo ""
653
- echo " ** ACTION REQUIRED **"
654
- echo " Set your terminal font to 'MesloLGS NF':"
655
- echo " Terminal.app: Settings > Profiles > Font > Change > MesloLGS NF"
656
- echo " iTerm2: Settings > Profiles > Text > Font > MesloLGS NF"
657
- echo ""
645
+ # === 9b. install Nerd Font + recommend iTerm2 (macOS) ===
646
+ if [ "$OS" = "Darwin" ]; then
647
+ echo ""
648
+
649
+ # install Nerd Font
650
+ if command -v brew &>/dev/null; then
651
+ if ! brew list --cask font-meslo-lg-nerd-font &>/dev/null 2>&1; then
652
+ echo "Installing Nerd Font (MesloLGS NF) for powerline glyphs..."
653
+ brew install --cask font-meslo-lg-nerd-font 2>/dev/null || true
654
+ fi
655
+ fi
656
+
657
+ # recommend iTerm2 if not installed and user is on Apple Terminal
658
+ if [ "${TERM_PROGRAM:-}" = "Apple_Terminal" ]; then
659
+ # check if iTerm2 is already installed
660
+ if [ ! -d "/Applications/iTerm.app" ]; then
661
+ echo "Recommended: install iTerm2 for full theme & color support."
662
+ if command -v brew &>/dev/null; then
663
+ echo " brew install --cask iterm2"
664
+ else
665
+ echo " https://iterm2.com/downloads.html"
666
+ fi
658
667
  else
659
- echo " Could not install Nerd Font automatically."
660
- echo " Install manually: brew install --cask font-meslo-lg-nerd-font"
668
+ echo "iTerm2 is installed. Use iTerm2 for the best experience."
661
669
  fi
662
670
  fi
663
671
  fi
@@ -730,14 +738,29 @@ echo " b layouts # Show available layouts"
730
738
  echo " b config layout 7panel # Change default layout"
731
739
  echo " b theme # List/change color themes"
732
740
  echo ""
733
- echo "Tip: For a polished arrow-style prompt, set your terminal font"
734
- echo " to a Powerline or Nerd Font (e.g. MesloLGS NF, Hack NF)."
735
741
  if [ "${TERM_PROGRAM:-}" = "Apple_Terminal" ]; then
742
+ echo "** Apple Terminal does not support background color themes. **"
736
743
  echo ""
737
- echo " Apple Terminal detected. For the best experience:"
738
- echo " 1. Set font: Terminal > Settings > Profiles > Font > MesloLGS NF"
739
- echo " 2. Or switch to iTerm2 for full color theme support"
744
+ if [ -d "/Applications/iTerm.app" ]; then
745
+ echo "Next steps:"
746
+ echo " 1. Open iTerm2"
747
+ echo " 2. Set font: iTerm2 > Settings > Profiles > Text > Font > MesloLGS NF"
748
+ echo " 3. Type: b"
749
+ else
750
+ echo "Next steps:"
751
+ echo " 1. Install iTerm2:"
752
+ if command -v brew &>/dev/null; then
753
+ echo " brew install --cask iterm2"
754
+ else
755
+ echo " https://iterm2.com/downloads.html"
756
+ fi
757
+ echo " 2. Open iTerm2"
758
+ echo " 3. Set font: iTerm2 > Settings > Profiles > Text > Font > MesloLGS NF"
759
+ echo " 4. Type: b"
760
+ fi
761
+ else
762
+ echo "Tip: Set your terminal font to a Nerd Font (e.g. MesloLGS NF)"
763
+ echo " for powerline arrow-style prompt glyphs."
764
+ echo ""
765
+ echo "Open a new terminal window, then type: b"
740
766
  fi
741
- echo ""
742
- # apply changes: source the RC file in current shell if possible
743
- echo "Open a new terminal window, then type: b"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "batipanel",
3
- "version": "0.4.27",
3
+ "version": "0.4.28",
4
4
  "description": "AI-powered terminal workspace manager — multi-panel tmux layouts with Claude Code, git, monitoring, and more",
5
5
  "bin": {
6
6
  "batipanel": "./bin/cli.sh"