mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-10 04:37:46 +02:00
Compare commits
2 Commits
7c1874b96e
...
c7f1aaa72d
Author | SHA1 | Date | |
---|---|---|---|
c7f1aaa72d | |||
e9a3c08d86 |
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
[ -z "$LOOPBACK_DEVICE" ] && device="Easy Effects Source" || device="$LOOPBACK_DEVICE"
|
[ -z "$LOOPBACK_DEVICE" ] && device="Easy Effects Source" || device="$LOOPBACK_DEVICE"
|
||||||
|
|
||||||
name=$(wpctl status | grep "$device")
|
name=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | sed -e "s/*/\ /g")
|
||||||
id=$( echo $name | cut -d '.' -f 1 | cut -c 5-)
|
id=$( echo $name | cut -d '.' -f 1 | cut -c 5-)
|
||||||
node=$(wpctl inspect $id | grep node.name | cut -d '=' -f 2)
|
node=$(wpctl inspect $id | grep node.name | cut -d '=' -f 2)
|
||||||
|
|
||||||
@ -91,9 +91,9 @@ Allowed options:
|
|||||||
next Play next song in player
|
next Play next song in player
|
||||||
shuffle Toggle the shuffle mode
|
shuffle Toggle the shuffle mode
|
||||||
loop Toggle the loop mode
|
loop Toggle the loop mode
|
||||||
tap Start loopback for device
|
tap Start loopback for source device
|
||||||
untap Stop all active loopbacks
|
untap Stop all active source loopbacks
|
||||||
tap_toggle Start or stop loopback depending if it is already running
|
tap_toggle Start or stop loopback depending if it is already running
|
||||||
all else Print this message
|
all else Print this message
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user