From 1690ec5eb45b38a61aa886ce110743a2fb212210 Mon Sep 17 00:00:00 2001 From: Tetardtek Date: Mon, 23 Feb 2026 22:14:51 +0100 Subject: [PATCH] =?UTF-8?q?fix(waybar/autostart):=20emp=C3=AAcher=20le=20d?= =?UTF-8?q?ouble=20d=C3=A9marrage=20via=20flock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sur Pop!_OS 24.04, systemd-xdg-autostart-generator et cosmic-session traitent tous deux ~/.config/autostart/ → deux instances waybar. Utilise flock sur un fichier verrou /tmp pour n'en démarrer qu'une. --- INSTALL/configs/autostart/waybar.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL/configs/autostart/waybar.desktop b/INSTALL/configs/autostart/waybar.desktop index 3185bd4..dd26167 100644 --- a/INSTALL/configs/autostart/waybar.desktop +++ b/INSTALL/configs/autostart/waybar.desktop @@ -2,7 +2,7 @@ Name=Waybar Comment=violet-chaton status bar Type=Application -Exec=waybar +Exec=bash -c "exec 9>/tmp/waybar-start.lock; flock -n 9 || exit 0; exec waybar" Hidden=false NoDisplay=false X-GNOME-Autostart-enabled=true