diff options
Diffstat (limited to 'src/c_go2work.go')
-rw-r--r-- | src/c_go2work.go | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/c_go2work.go b/src/c_go2work.go index e985144..a64f244 100644 --- a/src/c_go2work.go +++ b/src/c_go2work.go @@ -57,11 +57,19 @@ func main() { ticker := time.NewTicker(2 * time.Second) quit := make(chan struct{}) fmt.Println("Time is: " + t) - exec_player(true, "mpv", "--no-video", "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac") + exec_player( + true, + "mpv", + "--no-video", + "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac") for { select { case <- ticker.C: - exec_player(false, "mpv", "--no-video", "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac") + exec_player( + false, + "mpv", + "--no-video", + "/home/jozan/mu/rock/grunge/nirvana/1993_in_utero/04_rape_me.flac") case <- quit: ticker.Stop() return |