Files
dotfiles-violet-chaton/INSTALL/configs/autostart/waybar.desktop
Tetardtek 1690ec5eb4 fix(waybar/autostart): empêcher le double démarrage via flock
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.
2026-02-23 22:14:51 +01:00

9 lines
218 B
Desktop File

[Desktop Entry]
Name=Waybar
Comment=violet-chaton status bar
Type=Application
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