#!/usr/bin/env bash

pgrep -x quickshell >/dev/null && quickshell kill; quickshell

# Restart hyprpaper
pkill hyprpaper 2>/dev/null
setsid hyprpaper &>/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