Synth power menu

This commit is contained in:
2021-02-21 08:48:17 -05:00
parent 8bf1fbdbea
commit 4d98c61049
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,15 @@
#!/usr/bin/env sh
# Script to bring up a prompt to set synth power state.
current='Keep current state'
off='Power synths off'
on='Power synths on'
selected=$(echo -e "${current}\n${off}\n${on}" | rofi -dmenu -p \
'Change synth power' -theme ~/.config/rofi/themes/aqua)
if [ "$selected" == "$off" ]; then
python ~/.config/scripts/audio/synth-power.py -o
elif [ "$selected" == "$on" ]; then
python ~/.config/scripts/audio/synth-power.py -d
fi