diff options
author | Andinus <andinus@nand.sh> | 2020-03-19 13:22:57 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-19 13:22:57 +0530 |
commit | 58122b41d2fc536e5f2ad30da70e33e59a18dc90 (patch) | |
tree | 81fd113d40b670c97b5ae85e5f52a91ad7d8a004 /pkg/background/background.go | |
parent | 5e6090c35f3d6105b20e529cc23c76a339ba944f (diff) | |
download | cetus-58122b41d2fc536e5f2ad30da70e33e59a18dc90.tar.gz |
Add download function
Diffstat (limited to 'pkg/background/background.go')
-rw-r--r-- | pkg/background/background.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pkg/background/background.go b/pkg/background/background.go deleted file mode 100644 index fa95f6f..0000000 --- a/pkg/background/background.go +++ /dev/null @@ -1,13 +0,0 @@ -package background - -import "os/exec" - -// Set calls feh to set the background -func Set(path string) error { - feh, err := exec.LookPath("feh") - if err != nil { - return err - } - err = exec.Command(feh, "--bg-fill", path).Run() - return err -} |