From 21a88c2452cbf48b9d4f96b15c7d85af00be16b5 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 22:03:06 -0800 Subject: [PATCH 1/3] Add script to install Catppuccin theme for tmux Closes #9 --- generic/install-tmux-catppuccin-theme | 9 +++++++++ ubuntu/install-essential-packages | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 generic/install-tmux-catppuccin-theme diff --git a/generic/install-tmux-catppuccin-theme b/generic/install-tmux-catppuccin-theme new file mode 100644 index 0000000..2eba14e --- /dev/null +++ b/generic/install-tmux-catppuccin-theme @@ -0,0 +1,9 @@ +#!/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 +git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux + +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" diff --git a/ubuntu/install-essential-packages b/ubuntu/install-essential-packages index 221b70f..82480e3 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 Catpuccin theme for tmux +source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme) From 3a8eeafb4a3b9d4af6185dc5bb979cae6a219438 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 22:11:44 -0800 Subject: [PATCH 2/3] Update ubuntu/install-essential-packages fix typo Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ubuntu/install-essential-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/install-essential-packages b/ubuntu/install-essential-packages index 82480e3..a4c6629 100755 --- a/ubuntu/install-essential-packages +++ b/ubuntu/install-essential-packages @@ -57,5 +57,5 @@ else echo "mdview: unable to determine latest .deb URL" >&2 fi -# Install Catpuccin theme for tmux +# Install Catppuccin theme for tmux source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme) From fefb4661310ccc7fdc39dc71911671184eb6deb1 Mon Sep 17 00:00:00 2001 From: Mark Pitman Date: Sun, 4 Jan 2026 22:12:21 -0800 Subject: [PATCH 3/3] Update generic/install-tmux-catppuccin-theme add error checking Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- generic/install-tmux-catppuccin-theme | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/generic/install-tmux-catppuccin-theme b/generic/install-tmux-catppuccin-theme index 2eba14e..8c7c314 100644 --- a/generic/install-tmux-catppuccin-theme +++ b/generic/install-tmux-catppuccin-theme @@ -2,8 +2,12 @@ # source <(curl -fsSL https://raw.githubusercontent.com/mapitman/linux-bootstrap/main/generic/install-tmux-catppuccin-theme) mkdir -p ~/.config/tmux/plugins/catppuccin -git clone -b v2.1.3 https://github.com/catppuccin/tmux.git ~/.config/tmux/plugins/catppuccin/tmux - -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" +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