jbirnick / polybar-timer

A simple & customizable timer for your bar.
MIT License
62 stars 6 forks source link

Files missing #6

Closed gitduk closed 2 years ago

gitduk commented 2 years ago

I don't have this files (/tmp/polybar-timer/*), can you post it ?

killTimer () { rm -rf /tmp/polybar-timer ; }
timerSet () { [ -e /tmp/polybar-timer/ ] ; }
timerPaused () { [ -f /tmp/polybar-timer/paused ] ; }

timerExpiry () { cat /tmp/polybar-timer/expiry ; }
timerLabelRunning () { cat /tmp/polybar-timer/label_running ; }
timerLabelPaused () { cat /tmp/polybar-timer/label_paused ; }
timerAction () { cat /tmp/polybar-timer/action ; }
jbirnick commented 2 years ago

Those are temporary files. (that's why they lie in /tmp/) They get created by the script, for example in those lines:

echo "$(( $(now) + 60*${2} ))" > /tmp/polybar-timer/expiry
echo "${3}" > /tmp/polybar-timer/label_running
echo "${4}" > /tmp/polybar-timer/label_paused
echo "${5}" > /tmp/polybar-timer/action
gitduk commented 2 years ago

i know I can't find your clock symbols on the internet, can you post them. thanks

jbirnick commented 2 years ago

I use Nerd Fonts, which brings a lot of icons with. On the Cheat Sheet you can search for "time" or "clock" to find some. I use fa1a (nf-mdi-timer) and fa1d (nf-mdi-timer_off).