OSDN Git Service

fix dunsttrigger path
[instantos/instantOS.git] / programs / sll
1 #!/bin/bash
2
3 # very subtle easter egg, turn up the volume and wear headphones to experience it
4 if ! [ -e ~/instantos/thomas.mp3 ]; then
5     pushd .
6     cd ~/instantos/
7     wget -q thomasthetankengine.surge.sh/thomas.mp3
8     popd
9 fi
10
11 if pgrep mpv; then
12     sl "$@"
13     exit
14 fi
15
16 mpv ~/instantos/thomas.mp3 &>/dev/null &
17 command sl "$@"
18 pkill mpv