Add scripts
This commit is contained in:
16
scripts/music.sh
Executable file
16
scripts/music.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
case $1 in
|
||||
"toggle")
|
||||
mpc toggle
|
||||
;;
|
||||
"next")
|
||||
mpc next
|
||||
pkill -RTMIN+2 i3blocks
|
||||
;;
|
||||
"prev")
|
||||
mpc prev
|
||||
pkill -RTMIN+2 i3blocks
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user