Current song mentioned in other commands as well

This commit is contained in:
Nox Sluijtman 2024-09-17 15:02:44 +02:00
parent f2e8beab8a
commit 0258ac69a7

View file

@ -13,13 +13,13 @@ def main [] {
# Skips to next song
def "main next" [] {
mpc next
notify $"Switching to: (mpc current)"
notify $"Switching to:\n(mpc current)"
}
# Moves back a song in the que
def "main prev" [] {
mpc prev
notify $"Switching to: (mpc current)"
notify $"Switching to:\n(mpc current)"
}
# Shuffles the current que
@ -31,17 +31,17 @@ def "main shuffle" [] {
# Stops playing the current que
def "main stop" [] {
mpc stop
notify $"Stopping playback..."
notify $"Stopping playback of:\n(mpc toggle)"
}
# Starts playing the current que
def "main start" [] {
mpc start
notify $"Starting playback..."
notify $"Starting playback of:\n(mpc toggle)"
}
# Toggles playback of the current que
def "main toggle" [] {
mpc toggle
notify $"Toggling playback..."
notify $"Toggling playback of:\n(mpc current)"
}