diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-06-21 14:12:17 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-06-21 14:12:17 +0300 |
| commit | 0747dfdb3aca87d666b2a7d8761a6ffdf48cc90c (patch) | |
| tree | 0568937a95f5c2634fbcc791d9f3051e1eee53e1 /moc/.config | |
| parent | ad09b2c70920cef796cbe6e7c49d5f5a5f5ccbad (diff) | |
| download | dotfiles-0747dfdb3aca87d666b2a7d8761a6ffdf48cc90c.tar.gz dotfiles-0747dfdb3aca87d666b2a7d8761a6ffdf48cc90c.zip | |
moc: fix onstop script not working
also add writing current playing song info to textfiles in /tmp so that
they can be used in, say, obs.
Diffstat (limited to 'moc/.config')
| -rw-r--r-- | moc/.config/moc/config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moc/.config/moc/config b/moc/.config/moc/config index 449bc02..aba05bb 100644 --- a/moc/.config/moc/config +++ b/moc/.config/moc/config @@ -668,7 +668,7 @@ Layout1 = directory(0,0,30%,100%):playlist(30%,0,FILL,100%) # # Example: OnSongChange = "/home/jack/.moc/myscript %a %r" # -OnSongChange = "/home/aaoth/.local/bin/mocpnotify next %a %t %d" +OnSongChange = "/home/aaoth/.local/bin/mocpnotify-next %a %t %d" # If RepeatSongChange is 'yes' then MOC will execute the command every time # a song starts playing regardless of whether or not it is just repeating. @@ -678,7 +678,7 @@ OnSongChange = "/home/aaoth/.local/bin/mocpnotify next %a %t %d" # Run the OnStop command (full path, no arguments) when MOC changes state # to stopped (i.e., when user stopped playing or changes a song). -OnStop = "/home/aaoth/.local/bin/mocpnotify stop" +OnStop = "/home/aaoth/.local/bin/mocpnotify-stop" # This option determines which song to play after finishing all the songs # in the queue. Setting this to 'yes' causes MOC to play the song which |
