Current song mentioned in other commands as well
This commit is contained in:
parent
f2e8beab8a
commit
0258ac69a7
|
@ -13,13 +13,13 @@ def main [] {
|
||||||
# Skips to next song
|
# Skips to next song
|
||||||
def "main next" [] {
|
def "main next" [] {
|
||||||
mpc next
|
mpc next
|
||||||
notify $"Switching to: (mpc current)"
|
notify $"Switching to:\n(mpc current)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Moves back a song in the que
|
# Moves back a song in the que
|
||||||
def "main prev" [] {
|
def "main prev" [] {
|
||||||
mpc prev
|
mpc prev
|
||||||
notify $"Switching to: (mpc current)"
|
notify $"Switching to:\n(mpc current)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Shuffles the current que
|
# Shuffles the current que
|
||||||
|
@ -31,17 +31,17 @@ def "main shuffle" [] {
|
||||||
# Stops playing the current que
|
# Stops playing the current que
|
||||||
def "main stop" [] {
|
def "main stop" [] {
|
||||||
mpc stop
|
mpc stop
|
||||||
notify $"Stopping playback..."
|
notify $"Stopping playback of:\n(mpc toggle)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Starts playing the current que
|
# Starts playing the current que
|
||||||
def "main start" [] {
|
def "main start" [] {
|
||||||
mpc start
|
mpc start
|
||||||
notify $"Starting playback..."
|
notify $"Starting playback of:\n(mpc toggle)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Toggles playback of the current que
|
# Toggles playback of the current que
|
||||||
def "main toggle" [] {
|
def "main toggle" [] {
|
||||||
mpc toggle
|
mpc toggle
|
||||||
notify $"Toggling playback..."
|
notify $"Toggling playback of:\n(mpc current)"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue