1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-10 08:54:54 +00:00
dotfiles/.config/fish/functions/timer.fish

11 lines
277 B
Fish
Raw Normal View History

# Defined in /tmp/fish.99BpV1/timer.fish @ line 2
2019-06-29 23:14:54 +00:00
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
2019-06-29 23:14:54 +00:00
end
zenity --info --text=Time to take a break!
end'
2019-06-29 23:14:54 +00:00
end