Add systemd file generation to autostart-manage

This commit is contained in:
Tobias Reisinger 2024-03-27 18:58:31 +01:00
parent 5dbdf3d311
commit 790f3e8039
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 37 additions and 0 deletions
autostart-manage

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
service_file="$HOME/.config/systemd/user/autostart@.service"
if [ ! -f "$service_file" ]; then
_deploy_service_file "$service_file"
fi
target_file="$HOME/.config/systemd/user/autostart.target"
if [ ! -f "$target_file" ]; then
_deploy_target_file "$target_file"
fi