OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
comment programs better
[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
5
if ! [ -e ~/instantos/thomas.mp3 ]; then
6
pushd .
7
cd ~/instantos/ || exit 1
8
wget -q thomasthetankengine.surge.sh/thomas.mp3
9
popd
10
fi
11
12
if pgrep mpv; then
13
sl "$@"
14
exit
15
fi
16
17
mpv ~/instantos/thomas.mp3 &>/dev/null &
18
command sl "$@"
19
pkill mpv