aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Refresh.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-05-05 07:23:20 +0900
committerGitHub <noreply@github.com>2024-05-05 07:23:20 +0900
commit332b0afaa0c0af97c0dcc75c24dec56df6acc86c (patch)
tree498a56e78802f92bf3814353ac35a50d8b5f950b /config/hypr/scripts/Refresh.sh
parentc32e177c6696c3d283188cbabc1a78cd4364476c (diff)
parent8e9b6f015038ae76ce68035d6aee7ff88a5be06c (diff)
Merge pull request #236 from JaKooLit/main
Synchronizing Main to development
Diffstat (limited to 'config/hypr/scripts/Refresh.sh')
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh
index 15516dff..bf806e01 100755
--- a/config/hypr/scripts/Refresh.sh
+++ b/config/hypr/scripts/Refresh.sh
@@ -15,13 +15,15 @@ file_exists() {
}
# Kill already running processes
-_ps=(waybar rofi swaync)
+_ps=(waybar rofi swaync ags)
for _prs in "${_ps[@]}"; do
if pidof "${_prs}" >/dev/null; then
pkill "${_prs}"
fi
done
+ags -q
+
sleep 0.3
# Relaunch waybar
waybar &
@@ -30,6 +32,9 @@ waybar &
sleep 0.5
swaync > /dev/null 2>&1 &
+# relaunch ags
+ags &
+
# Relaunching rainbow borders if the script exists
sleep 1
if file_exists "${UserScripts}/RainbowBorders.sh"; then
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage