diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-01-10 18:13:29 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-01-10 18:13:29 +0900 |
| commit | 565f20ac7513792bd4b0bd3c78eac9de90fbb6a0 (patch) | |
| tree | c338782c237d9da8325ff65a26e17ec467dceeac /config/hypr/scripts | |
| parent | 6ef0644f8d49844d9bc1aedf061adde61dc6d962 (diff) | |
tweaked refresh.sh cause wallust color does not apply to waybar sometimes
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 1aa63378..78f76702 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -22,13 +22,11 @@ for _prs in "${_ps[@]}"; do fi done +killall -SIGUSR2 waybar # added since wallust sometimes not applying + # quit ags ags -q -sleep 1 -#Restart waybar -waybar && killall -SIGUSR2 waybar # added since wallust sometimes not applying - # relaunch swaync sleep 0.5 swaync > /dev/null 2>&1 & @@ -36,6 +34,16 @@ swaync > /dev/null 2>&1 & # relaunch ags ags & +# Kill waybar (yet again) # added since wallust sometimes not applying +if pidof waybar >/dev/null; then + pkill waybar +fi + + +sleep 1 +#Restart waybar +waybar & + # Relaunching rainbow borders if the script exists sleep 1 if file_exists "${UserScripts}/RainbowBorders.sh"; then |
