2023-10-15 02:45:56 +00:00
|
|
|
# autostart-i3ipc
|
|
|
|
|
|
|
|
A smart but also lazy login autostart manager for i3/Sway.
|
|
|
|
|
2023-10-15 02:48:56 +00:00
|
|
|
Will conditionally exec other things defined in a YML dict.
|
|
|
|
ie: every day, work days, or weekends
|
2023-10-15 02:45:56 +00:00
|
|
|
|
|
|
|
Required i3/Sway config line:
|
|
|
|
exec .config/sway/scripts/startup.py
|
|
|
|
|
2023-10-15 02:48:56 +00:00
|
|
|
## Config sample
|
|
|
|
|
|
|
|
```yaml
|
2023-10-15 02:45:56 +00:00
|
|
|
---
|
|
|
|
autostarts:
|
|
|
|
pre: [] # blocking tasks that run every day, before any other section. intended for backups/updates
|
|
|
|
common: [] # non-blocking tasks that run every day
|
|
|
|
weekend: [] # blocking tasks for weekends, after 'pre' but before 'common'
|
|
|
|
work: [] # non-blocking tasks run if Monday through Friday between 8AM - 4PM
|
2023-10-15 02:48:56 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Options
|
2023-10-15 02:45:56 +00:00
|
|
|
|
2023-10-15 02:48:56 +00:00
|
|
|
```shell
|
2023-10-15 02:45:56 +00:00
|
|
|
-c CONFIG, --config CONFIG
|
|
|
|
Path to the YML configuration file. (default: /home/user/.config/sway/autostart.yml)
|
|
|
|
```
|