Reintroduce sudo feature to lock users out. Remove AW watcher because the dependency is annoying.

This commit is contained in:
2022-07-23 12:37:05 -04:00
parent 34691309db
commit c82c52910c
6 changed files with 51 additions and 47 deletions

View File

@@ -19,3 +19,20 @@ ExecStart=/home/felixm/dot/bin/antidrift
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.