aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/main.go b/main.go
index 70cd869..f5828b1 100644
--- a/main.go
+++ b/main.go
@@ -9,7 +9,7 @@ import (
"github.com/BurntSushi/xgb"
"github.com/BurntSushi/xgb/xproto"
- config "github.com/crecheer/wm/config"
+ "github.com/crecheer/wm/config"
"github.com/crecheer/wm/keysym"
)
@@ -115,6 +115,11 @@ func setup(conn *xgb.Conn) {
if barHeight != 0 {
createBar(conn)
}
+
+ for _, cmd := range config.Startup {
+ exec.Command(cmd)
+ log.Println(cmd)
+ }
}
func spawn(cmd string, args ...string) {