eww widgets and theme cycle with waybar button

This commit is contained in:
samantha42
2026-04-19 08:55:14 +02:00
parent 39f39701a7
commit 22eb9ddc46
20 changed files with 932 additions and 150 deletions

59
hypr/depencies-check.sh Normal file
View File

@@ -0,0 +1,59 @@
#!/bin/bash
# ─────────────────────────────────────────
# Dependency Checker
# ─────────────────────────────────────────
DEPS=(
eww
steam
code
firefox
vesktop
kitty
wofi
thunar
fastfetch
waybar
jq
)
PASS=0
FAIL=0
MISSING=()
# Colors
GREEN='\033[0;32m'
RED='\033[0;31m'
CYAN='\033[0;36m'
BOLD='\033[1m'
RESET='\033[0m'
echo ""
echo -e "${BOLD}${CYAN} Checking dependencies...${RESET}"
echo -e " ──────────────────────────"
for dep in "${DEPS[@]}"; do
if command -v "$dep" &>/dev/null; then
echo -e " ${GREEN}${RESET} $dep"
((PASS++))
else
echo -e " ${RED}${RESET} $dep ${RED}(not found)${RESET}"
MISSING+=("$dep")
((FAIL++))
fi
done
echo -e " ──────────────────────────"
echo -e " ${GREEN}${PASS} found${RESET} | ${RED}${FAIL} missing${RESET}"
echo ""
if [ ${#MISSING[@]} -gt 0 ]; then
echo -e "${BOLD} Missing:${RESET} ${MISSING[*]}"
echo ""
exit 1
else
echo -e "${GREEN}${BOLD} All dependencies satisfied!${RESET}"
echo ""
exit 0
fi