Add scripts

This commit is contained in:
olari
2018-07-31 21:30:28 +03:00
parent 031a4b54c1
commit da0ac3cd97
8 changed files with 78 additions and 13 deletions

16
scripts/music.sh Executable file
View 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