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

View File

@@ -1,11 +1,19 @@
#!/usr/bin/env bash
killall -SIGUSR2 waybar 2>/dev/null
# Reload Waybar if running, otherwise start it
if pgrep -x waybar >/dev/null; then
killall -SIGUSR2 waybar
else
setsid waybar &>/dev/null &
fi
# Restart hyprpaper
pkill hyprpaper 2>/dev/null
setsid hyprpaper &>/dev/null &
pkill -f wallpaper-cycle.sh 2>/dev/null
setsid ~/.config/hypr/wallpaper-cycle.sh &>/dev/null &
# Restart wallpaper cycle script
pkill -f theme-cycle.sh 2>/dev/null
setsid ~/.config/hypr/theme-cycle.sh &>/dev/null &
# Reload Hyprland config
hyprctl reload