From 207dac004ee29d4e20cf7d803bdd1fda6b385d91 Mon Sep 17 00:00:00 2001 From: ray Date: Sat, 28 Feb 2026 19:56:43 +0000 Subject: [PATCH] update --- user/blueman-applet.service | 2 +- user/swww.service | 2 +- user/waybar.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/user/blueman-applet.service b/user/blueman-applet.service index 965b067..f7d187b 100644 --- a/user/blueman-applet.service +++ b/user/blueman-applet.service @@ -3,7 +3,7 @@ Description=Blueman Applet [Service] Type=simple -ExecStartPre=/usr/bin/sh -lc 'until [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' +ExecStartPre=/usr/bin/sh -c 'until [ -n "$WAYLAND_DISPLAY" ] && [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' ExecStart=/usr/bin/blueman-applet Restart=on-failure RestartSec=2 diff --git a/user/swww.service b/user/swww.service index f1c8b2d..78b12eb 100644 --- a/user/swww.service +++ b/user/swww.service @@ -5,7 +5,7 @@ PartOf=default.target [Service] Type=simple -ExecStartPre=/usr/bin/sh -lc 'until [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' +ExecStartPre=/usr/bin/sh -c 'until [ -n "$WAYLAND_DISPLAY" ] && [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' ExecStart=/usr/bin/swww-daemon Restart=on-failure RestartSec=1 diff --git a/user/waybar.service b/user/waybar.service index 740ae3f..3db680c 100644 --- a/user/waybar.service +++ b/user/waybar.service @@ -6,7 +6,7 @@ PartOf=default.target [Service] Type=simple -ExecStartPre=/usr/bin/sh -lc 'until [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' +ExecStartPre=/usr/bin/sh -c 'until [ -n "$WAYLAND_DISPLAY" ] && [ -S "$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" ]; do sleep 0.2; done' ExecStart=/usr/bin/waybar Restart=on-failure RestartSec=1