Skip to content

Commit c0d9144

Browse files
authored
Add script to install Catppuccin theme for tmux (#10)
* Add script to install Catppuccin theme for tmux Closes #9
1 parent 81b937a commit c0d9144

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env bash
2+
# source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)
3+
4+
mkdir -p ~/.config/tmux/plugins/catppuccin
5+
if git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux; then
6+
echo "Catppuccin theme for tmux has been installed."
7+
echo "To apply the theme, add the following line to your .tmux.conf file:"
8+
echo "run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux"
9+
else
10+
echo "Error: Failed to clone Catppuccin tmux theme repository." >&2
11+
# If sourced, return non-zero; if executed directly, exit non-zero.
12+
return 1 2>/dev/null || exit 1
13+
fi

ubuntu/install-essential-packages

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ if [ -n "$MDVIEW_DEB_URL" ]; then
5656
else
5757
echo "mdview: unable to determine latest .deb URL" >&2
5858
fi
59+
60+
# Install Catppuccin theme for tmux
61+
source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme)

0 commit comments

Comments
 (0)