Automatically restart autostarted apps

This commit is contained in:
2018-08-21 07:36:43 +02:00
parent 6cca04fa9c
commit fda4627f33
6 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
printf '%s\n' "start compton"
systemd-run --remain-after-exit --user --setenv=DISPLAY=${DISPLAY} compton --backend xrender --vsync opengl &
systemd-run --property=Restart=always --user --setenv=DISPLAY=${DISPLAY} compton --backend xrender --vsync opengl &
printf '%s\n' "disable screen blanking"
xset -dpms &