Compare commits

...

3 commits

3 changed files with 11 additions and 2 deletions

View file

@ -43,8 +43,13 @@
(overlay
(circular-progress
:class "circle-progress"
:value 100
:value "${
timer-state == "inactive" ? 100 :
100 * (timer-start-time + (timer-state == "work" ? WORK_TIME_SEC : PAUSE_TIME_SEC) - timer-time)
/ (timer-state == "work" ? WORK_TIME_SEC : PAUSE_TIME_SEC)
}"
:thickness 6
:start-at 75
:clockwise true)
(label :class "start-icon" :text "${timer-state == "inactive" ? 'Start' : (timer-state == "work" ? "Working" : "Pause")}")
)

View file

@ -1,5 +1,5 @@
#!/usr/bin/bash
if command -v jaaj &> /dev/null && command -v lolcat &> /dev/null; then
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
jaaj
fi

View file

@ -44,6 +44,10 @@ if command -v starship > /dev/null; then
eval "$(starship init bash)"
fi
if command -v zoxide > /dev/null; then
eval "$(zoxide init bash)"
fi
if [ -f ~/.bash_exec ]; then
source ~/.bash_exec
fi