aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarStyles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/WaybarStyles.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarStyles.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh
index 2e994780..95a348ba 100755
--- a/config/hypr/scripts/WaybarStyles.sh
+++ b/config/hypr/scripts/WaybarStyles.sh
@@ -26,15 +26,6 @@ menu() {
# Apply selected style
apply_style() {
ln -sf "$waybar_styles/$1.css" "$waybar_style"
- restart_waybar_if_needed
-}
-
-# Restart Waybar if it's running
-restart_waybar_if_needed() {
- if pgrep -x "waybar" >/dev/null; then
- pkill waybar
- sleep 0.1 # Delay for Waybar to completely terminate
- fi
"${SCRIPTSDIR}/Refresh.sh" &
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage