summary refs log tree commit diff stats
path: root/pkg/background/set_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/background/set_darwin.go')
-rw-r--r--pkg/background/set_darwin.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/pkg/background/set_darwin.go b/pkg/background/set_darwin.go
deleted file mode 100644
index 2ead214..0000000
--- a/pkg/background/set_darwin.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// +build darwin
-
-package background
-
-import (
-	"os/exec"
-	"strconv"
-)
-
-// Set calls feh to set the background
-func Set(path string) error {
-	err := exec.Command("osascript", "-e", `tell application "System Events" to tell every desktop to set picture to `+strconv.Quote(path)).Run()
-	return err
-}