initial dotfiles setup

Profile-based dotfiles with switchable color themes.
Structure: profiles/ with themes/ and config/ per profile.
This commit is contained in:
2026-04-21 17:41:08 +02:00
commit 350fb4fe59
26 changed files with 1827 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# Preloads all theme wallpapers at startup so switching is instant.
THEME_DIR="$HOME/.config/wal/colorschemes/dark"
for json in "$THEME_DIR"/*.json; do
wp=$(python3 -c "import json,sys; c=json.load(open('$json')); print(c.get('wallpaper','None'))")
if [[ -n "$wp" && "$wp" != "None" && -f "$wp" ]]; then
hyprctl hyprpaper preload "$wp" 2>/dev/null || true
fi
done