0c0066fef1
Custom tab_bar.py with flat tabs, right-aligned status area (git branch, CPU%, memory, uptime, hostname, clock) using Nerd Font icons. F12/Shift+F12 toggle for tab bar. Added Kitty-setup.md, theme-setup.md, and install scripts for kitty-only and full Debian theme deployment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
37 lines
1.4 KiB
Bash
Executable File
37 lines
1.4 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install Seth Linux Theme to target user's ~/.config
|
|
set -euo pipefail
|
|
|
|
TARGET_HOME="${1:-$HOME}"
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
|
|
echo "Installing seth-linux-theme to $TARGET_HOME/.config ..."
|
|
|
|
# GTK CSS (same file for both GTK3 and GTK4)
|
|
mkdir -p "$TARGET_HOME/.config/gtk-3.0" "$TARGET_HOME/.config/gtk-4.0"
|
|
cp "$SCRIPT_DIR/gtk-3.0/gtk.css" "$TARGET_HOME/.config/gtk-3.0/gtk.css"
|
|
cp "$SCRIPT_DIR/gtk-3.0/gtk.css" "$TARGET_HOME/.config/gtk-4.0/gtk.css"
|
|
echo " GTK CSS installed."
|
|
|
|
# Kitty theme conf
|
|
if [ -d "$TARGET_HOME/.config/kitty" ]; then
|
|
cp "$SCRIPT_DIR/kitty/kitty-theme.conf" "$TARGET_HOME/.config/kitty/kitty-theme.conf"
|
|
cp "$SCRIPT_DIR/kitty/tab_bar.py" "$TARGET_HOME/.config/kitty/tab_bar.py"
|
|
if ! grep -q "include kitty-theme.conf" "$TARGET_HOME/.config/kitty/kitty.conf" 2>/dev/null; then
|
|
echo "" >> "$TARGET_HOME/.config/kitty/kitty.conf"
|
|
echo "include kitty-theme.conf" >> "$TARGET_HOME/.config/kitty/kitty.conf"
|
|
fi
|
|
echo " Kitty theme installed."
|
|
else
|
|
echo " Kitty config dir not found, skipping."
|
|
fi
|
|
|
|
# GNOME settings (only if running a GNOME session)
|
|
if command -v gsettings &>/dev/null; then
|
|
bash "$SCRIPT_DIR/gnome/apply-gnome-settings.sh"
|
|
else
|
|
echo " gsettings not found, skipping GNOME settings."
|
|
fi
|
|
|
|
echo "Done. Open new windows to see changes. Relaunch kitty for kitty changes."
|