aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Refresh.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-05-05 00:12:26 +0900
committerGitHub <noreply@github.com>2024-05-05 00:12:26 +0900
commit962a09dd0088cd01cbf3e678c4c500ff5087e4e4 (patch)
tree92f8977ed345ba8a39141ff7d36f423efd46f43a /config/hypr/scripts/Refresh.sh
parente27bc1e75280f02a0798e7150d7e7c775ee1aff6 (diff)
parente29068df76f763a999b9013ece32c8adb299b29f (diff)
Merge branch 'experimental-ags' into main
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