mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 23:34:57 +08:00
Former-commit-id: 99582f4b43
Former-commit-id: 3092e409f5a98198f69b18101aef9cb525d87538
Former-commit-id: b2b953c7175571fbf155ffc49390b1825bdfc5a6
13 lines
279 B
Bash
Executable file
13 lines
279 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Write PID to that file so other processes can send signals to me
|
|
echo $$ > /tmp/mpdinfo_pid
|
|
|
|
while : # This is the same as "while true".
|
|
do
|
|
# I do this when I wake up
|
|
~/Scripts/mpd-query.sh
|
|
# Then I go back to sleep
|
|
sleep 1d
|
|
#echo "woke up!"
|
|
done
|