diff --git a/generic/install-tmux-catppuccin-theme b/generic/install-tmux-catppuccin-theme new file mode 100644 index 0000000..8c7c314 --- /dev/null +++ b/generic/install-tmux-catppuccin-theme @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme) + +mkdir -p ~/.config/tmux/plugins/catppuccin +if git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux; then + echo "Catppuccin theme for tmux has been installed." + echo "To apply the theme, add the following line to your .tmux.conf file:" + echo "run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux" +else + echo "Error: Failed to clone Catppuccin tmux theme repository." >&2 + # If sourced, return non-zero; if executed directly, exit non-zero. + return 1 2>/dev/null || exit 1 +fi diff --git a/ubuntu/install-essential-packages b/ubuntu/install-essential-packages index 221b70f..a4c6629 100755 --- a/ubuntu/install-essential-packages +++ b/ubuntu/install-essential-packages @@ -56,3 +56,6 @@ if [ -n "$MDVIEW_DEB_URL" ]; then else echo "mdview: unable to determine latest .deb URL" >&2 fi + +# Install Catppuccin theme for tmux +source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)