soundboard dmenu

This commit is contained in:
Daniel Olsen
2021-11-11 05:39:46 +01:00
parent 8c5df05efc
commit b432a2cbc1
2 changed files with 13 additions and 1 deletions

9
scripts/dmenuaudio Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Give dmenu list of all unicode characters to copy.
# Shows the selected character in dunst if running.
chosen=$(cd $HOME/Soundboard && find -printf '%P\n'| dmenu -i -l 20 -fn Monospace-14)
[ "$chosen" != "" ] || exit
mpv --no-video --audio-device=pulse/SendToVirtualMic "$HOME/Soundboard/$chosen"