Files
dotfiles/scripts/switch-profile.sh
T
tekki 350fb4fe59 initial dotfiles setup
Profile-based dotfiles with switchable color themes.
Structure: profiles/ with themes/ and config/ per profile.
2026-04-21 17:41:08 +02:00

21 lines
417 B
Bash
Executable File

#!/bin/bash
# Usage: switch-profile.sh <profile-name>
PROFILE="${1:-}"
if [[ -z "$PROFILE" ]]; then
echo "Available profiles:"
ls "$HOME/profiles/"
exit 1
fi
if [[ ! -d "$HOME/profiles/$PROFILE" ]]; then
echo "Profile not found: $PROFILE"
echo "Available profiles:"
ls "$HOME/profiles/"
exit 1
fi
"$HOME/profiles/$PROFILE/install.sh"
hyprctl reload
echo "Switched to profile: $PROFILE"