mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
docs/autostart: add example for delayed start
This commit is contained in:
parent
2265dd647a
commit
51844c7fc9
1 changed files with 6 additions and 0 deletions
|
|
@ -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 &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue