diff options
| author | crecher <crecher@crecher.net> | 2026-04-01 14:33:45 +0200 |
|---|---|---|
| committer | crecher <crecher@crecher.net> | 2026-04-01 14:33:45 +0200 |
| commit | 273b21c2045f81dc73e05590d834ba10b948a3e6 (patch) | |
| tree | dd1901135e4189654621f740930fb535b4dc0cae /main.go | |
| parent | 981920710bfa7e3eae535a0a65c3d89b421eb752 (diff) | |
| download | wm-273b21c2045f81dc73e05590d834ba10b948a3e6.tar.gz wm-273b21c2045f81dc73e05590d834ba10b948a3e6.zip | |
added startup commands
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) { |