initial dotfiles setup
Profile-based dotfiles with switchable color themes. Structure: profiles/ with themes/ and config/ per profile.
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user