aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarLayout.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-08-08 14:12:23 +0000
committerGitHub <noreply@github.com>2024-08-08 14:12:23 +0000
commitd8a3463934bdc6c89a5bbfdce8b2f2325715c8c9 (patch)
treef8b90bb192c86a619c70b5d6359b4387b1b64bb2 /config/hypr/scripts/WaybarLayout.sh
parent41c4923fe79b1462a54881705a580b730405a370 (diff)
parent66cfe8e38194b6c8fcaf1d74aa31b264c79751bc (diff)
Merge pull request #395 from JaKooLit/development
Development to Main in preparation for Hyprland v0.42.0 recently released
Diffstat (limited to 'config/hypr/scripts/WaybarLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh10
1 files changed, 1 insertions, 9 deletions
diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh
index 03029889..36cbeb10 100755
--- a/config/hypr/scripts/WaybarLayout.sh
+++ b/config/hypr/scripts/WaybarLayout.sh
@@ -24,15 +24,7 @@ menu() {
# Apply selected configuration
apply_config() {
ln -sf "$waybar_layouts/$1" "$waybar_config"
- restart_waybar_if_needed
-}
-
-# Restart Waybar
-restart_waybar_if_needed() {
- if pgrep -x "waybar" >/dev/null; then
- pkill waybar
- sleep 0.1 # Delay for Waybar to completely terminate
- fi
+ #restart_waybar_if_needed
"${SCRIPTSDIR}/Refresh.sh" &
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage