readme: rearrange

This commit is contained in:
Josh Lay 2023-10-15 00:12:08 -05:00
parent 310fcaba6a
commit 66b2de5b3c
Signed by: jlay
GPG key ID: B265E45CACAD108A

View file

@ -9,13 +9,6 @@ Required i3/Sway config line:
exec path/to/startup.py exec path/to/startup.py
``` ```
Work days may be temporarily disabled by creating and removing
`~/.vacation` when appropriate.
The config may be chosen with `-c path/to/autostart.yml`.
The default is `XDG_CONFIG_HOME/autostart-i3ipc.yml` _(typically in ~/.config)_
## Config sample ## Config sample
```yaml ```yaml
@ -23,6 +16,13 @@ The default is `XDG_CONFIG_HOME/autostart-i3ipc.yml` _(typically in ~/.config)_
autostarts: autostarts:
pre: [] # blocking tasks that run every day, before any other section. intended for backups/updates pre: [] # blocking tasks that run every day, before any other section. intended for backups/updates
common: [] # non-blocking tasks that run every day common: [] # non-blocking tasks that run every day
weekend: [] # blocking tasks for weekends, after 'pre' but before 'common' weekend: [] # blocking tasks for Saturday/Sunday, after 'pre' but before 'common'
work: [] # non-blocking tasks run if Monday through Friday between 8AM - 4PM work: [] # non-blocking tasks run if Monday through Friday between 8AM - 4PM
``` ```
The config may be chosen with `-c path/to/autostart.yml`.
The default is `XDG_CONFIG_HOME/autostart-i3ipc.yml` _(typically in ~/.config)_
Work day autostarts may be temporarily disabled by creating `~/.vacation`.
When desired again, remove the file.