fix screenshot.service
This commit is contained in:
parent
95759ca363
commit
da2ef782fa
1 changed files with 3 additions and 1 deletions
|
@ -3,4 +3,6 @@ Description=Take a screenshot
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/scrot %h/screenshots/%Y-%m-%d_%H-%M-%S.jpg
|
||||
ExecStart=/usr/bin/scrot %h/screenshots/%%Y-%%m-%%d_%%H-%%M-%%S.jpg
|
||||
Environment=DISPLAY=:0
|
||||
Environment=XAUTHORITY=%h/.Xauthority
|
||||
|
|
Loading…
Reference in a new issue