I am batman

This commit is contained in:
2026-07-10 20:07:29 -04:00
commit 4aac54bff6
175 changed files with 18136 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# Update Hyprland border colors based on pywal colors
# This script reads the pywal colors.json and applies them to Hyprland
COLORS_JSON="$HOME/.cache/wal/colors.json"
if [[ ! -f "$COLORS_JSON" ]]; then
exit 1
fi
# Extract colors from pywal (remove the # prefix)
ACTIVE_COLOR=$(jq -r '.colors.color7' "$COLORS_JSON" | sed 's/#//')
INACTIVE_COLOR=$(jq -r '.colors.color8' "$COLORS_JSON" | sed 's/#//')
# Add alpha channel (ff for fully opaque)
ACTIVE_COLOR="0xff${ACTIVE_COLOR}"
INACTIVE_COLOR="0xff${INACTIVE_COLOR}"
# Apply colors to Hyprland
hyprctl keyword "general:col.active_border" "$ACTIVE_COLOR"
hyprctl keyword "general:col.inactive_border" "$INACTIVE_COLOR"