antidrift/README.md

39 lines
660 B
Markdown
Raw Normal View History

2022-06-18 21:51:24 +02:00
# AntiDrift
2021-10-13 03:58:56 +02:00
2022-06-18 21:51:24 +02:00
Utilize your computer purposefully.
2021-10-13 03:57:01 +02:00
## Autostart with systemd
- Create `~/.config/systemd/user/antidrift.service`
- Add configuration below and save
- Run `systemctl --user enable antidrift.service`
```
[Unit]
Description=AntiDrift
[Service]
ExecStart=/home/felixm/dot/bin/antidrift
[Install]
WantedBy=default.target
```
## Autostart via desktop file
Create a file `antidrift.desktop` in `/etc/xdg/autostart`.
Add the following content to the file.
```
[Desktop Entry]
Name=AntiDrift
Exec=/home/felixm/dot/bin/antidrift
Terminal=false
Type=Application
StartupNotify=false
```
Your window manager will now start antidrift automatically.