]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs/autostart: add example for delayed start
authorJohan Malm <jgm323@gmail.com>
Tue, 20 May 2025 20:15:45 +0000 (21:15 +0100)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Wed, 21 May 2025 11:18:27 +0000 (20:18 +0900)
docs/autostart

index f09ceb78403008fd288187f8d797d631038830c5..6046f18e476704435367e46c3c2f2a0e66b6c70e 100644 (file)
@@ -15,6 +15,11 @@ kanshi >/dev/null 2>&1 &
 # Launch a panel such as yambar or waybar.
 waybar >/dev/null 2>&1 &
 
+# To delay the launch of a particular client it is suggested that the following
+# syntax is used: ( sleep X ; foo ) &
+# For example, with waybar a three second delay could be achieved with:
+#   ( sleep 3 ; waybar >/dev/null 2>&1 ) &
+
 # Enable notifications. Typically GNOME/KDE application notifications go
 # through the org.freedesktop.Notifications D-Bus API and require a client such
 # as mako to function correctly. Thunderbird is an example of this.
@@ -32,3 +37,4 @@ swayidle -w \
        timeout 600 'wlopm --off \*' \
        resume 'wlopm --on \*' \
        before-sleep 'swaylock -f -c 000000' >/dev/null 2>&1 &
+