diff options
author | Andinus <andinus@inventati.org> | 2020-03-14 13:11:52 +0530 |
---|---|---|
committer | Andinus <andinus@inventati.org> | 2020-03-14 13:11:52 +0530 |
commit | ea8a01e9ae40f5478167abcf4563682adc77efb6 (patch) | |
tree | d1392b8cfe51d3105bc8bd3b84820de66488b8d9 /pkg/background.go | |
parent | 79f249d1db5843f2966330ddc75a8c71bb8a9ca0 (diff) | |
download | cetus-ea8a01e9ae40f5478167abcf4563682adc77efb6.tar.gz |
Add photoID support
photo-id flag can be used to set a specific photo as background
Diffstat (limited to 'pkg/background.go')
-rw-r--r-- | pkg/background.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/background.go b/pkg/background.go index 44e455c..c6000ff 100644 --- a/pkg/background.go +++ b/pkg/background.go @@ -14,6 +14,8 @@ package background +import "os/exec" + // Set calls feh to set the background func Set(path string) error { feh, err := exec.LookPath("feh") |