mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-17 20:32:47 +00:00
11 lines
277 B
Fish
11 lines
277 B
Fish
# Defined in /tmp/fish.99BpV1/timer.fish @ line 2
|
|
function timer
|
|
tmux new-session -d 'while true
|
|
for i in (seq -w 1200 -1 0)
|
|
echo (math -s0 $i/60):(math $i%60)
|
|
sleep 1
|
|
end
|
|
zenity --info --text=Time to take a break!
|
|
end'
|
|
end
|