updated some configs
This commit is contained in:
7
choose_random_ambience.sh
Normal file
7
choose_random_ambience.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
choices=$(ls *ambience*.mp3)
|
||||
shuffled=$(printf "%s\n" "${choices[@]}" | shuf -n1)
|
||||
echo $shuffled
|
||||
totem ${shuffled[ $RANDOM % ${#shuffled[@]} ]}
|
||||
Reference in New Issue
Block a user