add files
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
spotify_status=$(playerctl --player=mpd status 2>/dev/null)
|
||||
|
||||
if [ "$spotify_status" == "Playing" ]; then
|
||||
playerctl --player=mpd position $(($(playerctl --player=mpd position | awk '{print int($1)}') + 30))
|
||||
fi
|
||||
|
||||
# mpris-ctl --player Spotify seek +30
|
||||
Reference in New Issue
Block a user