summary refs log tree commit diff stats
path: root/pkg/background/background.go
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-19 13:22:57 +0530
committerAndinus <andinus@nand.sh>2020-03-19 13:22:57 +0530
commit58122b41d2fc536e5f2ad30da70e33e59a18dc90 (patch)
tree81fd113d40b670c97b5ae85e5f52a91ad7d8a004 /pkg/background/background.go
parent5e6090c35f3d6105b20e529cc23c76a339ba944f (diff)
downloadcetus-58122b41d2fc536e5f2ad30da70e33e59a18dc90.tar.gz
Add download function
Diffstat (limited to 'pkg/background/background.go')
-rw-r--r--pkg/background/background.go13
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
-}