Moves i3 to LEGACY
This commit is contained in:
parent
b811277aca
commit
5095b12c47
20 changed files with 0 additions and 0 deletions
14
LEGACY/i3/blocks/mpvmediaplayer
Executable file
14
LEGACY/i3/blocks/mpvmediaplayer
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
|
||||
socket="${SOCKET:-/tmp/mpvsocket}"
|
||||
|
||||
#case $BLOCK_BUTTON in
|
||||
# 1) $COMMAND previous ;;
|
||||
# 3) $COMMAND next ;;
|
||||
#esac
|
||||
|
||||
|
||||
echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - "${socket}" | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g'
|
||||
echo ""
|
||||
echo "#00FF00"
|
Loading…
Add table
Add a link
Reference in a new issue