Compare commits
3 commits
dc9169c19e
...
b9aaba6878
Author | SHA1 | Date | |
---|---|---|---|
b9aaba6878 | |||
568ba5f879 | |||
98d6cb2dd5 |
3 changed files with 11 additions and 2 deletions
|
@ -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")}")
|
||||
)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue